[INFORMATION](4/11/2024)
Cubism Editor 5.1 alpha2 is now available!
We have incorporated some of your comments and suggestions. Thank you for your comments and requests!
We will continue to welcome your feedback on alpha2.
Download/
Manual and Update History
RenderMode.DrawMeshNow error
Hi there, it's me again!
I uploaded a first version of my app for my testers and noticed in my exception logging that apparently an error is thrown without doing any harm. At least that's what I can see when testing.
Live2D Cubism 2.1 / RenderMode.DrawMeshNow Error live2dmodel.draw() must be called in OnPostRender() or OnRenderObject() . -------------------
at live2d. :drawLast()
I used the newest code from the Unity sample app provided with the SDK.
0 ·
Comments
ALive2DModel.draw()
shouldn't be called fromMonoBehaviour.Update()
when you useRenderMode.DrawMeshNow
. Could you recheck that the script for drawing the model callsALive2DModel.draw()
inMonoBehaviour.OnRenderObject()
like this:It's a little bit weird to do so...