Animation problem after Lightweigh render pipeline integration
Hello, I am using SDK Cubism3.1 and Unity 2019.1.1f1 (I have this same problem on previous unity versions).
After importing LWRP in Unity, animations which using live2d not working only in build (pc & webgl), in editor is everythink fine. I debugged parameters , change of parameters working correctly but it does not translate into character movement.
Somone know reason or have any tips how resolve this problem?
1 ·
Answers
My project also uses LWRP (or the one that replaced it, Universal Rendering Pipeline, now that LWRP is deprecated)
In the editor, everything is fine. But when I build, it does not animate.
Did you ever find a fix for your problem?
I fixed my problem by changing CubismModel.OnRenderObject() to CubismModel.LateUpdate() and setting the CubismModel script execution order to last (for more information on script execution order, see https://docs.unity3d.com/Manual/class-MonoManager.html)