Draw.Text crashes Textmesh Pro UI on iOS devices
Hi,
I used Draw.Text to draw the text on 3D space in my app. I also have other Textmeshpro component on my screen space UI. If I start drawing Text using the draw command for that camera, the screen space Textmeshpro UI disappears.
Here is my draw command code:
SetDrawMatrix();
SetDrawZTest(UnityEngine.Rendering.CompareFunction.Always);
Draw.Text(drawCallback.verts[0], drawCallback.verts[1], drawCallback.text, drawCallback.style.align, drawCallback.style.fontSize, drawCallback.style.color);
This case only happens in my iPAD pro, but not in editor. My xcode version is 12.5.1.
Thanks
if you're getting divergent behavior specifically on iOS, it's very likely a Unity bug I'm afraid, I wouldn't know where to start looking to solve this :(