[Notice of Holidays]
Please note that our staff will not be available from 2024/Dec/28 - 2025/Jan/5 JST.
The Live2D Creators Forum will remain open during the holidays.
Submissions that require a response will be answered after we reopen for business.
Please note that it will take longer than usual to respond to your request.
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...