🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

SuperTextMesh in Canvas fails to draw on scene load

A topic by Jonathon Yule created 70 days ago Views: 54 Replies: 3
Viewing posts 1 to 4

I just implemented scene loading into my game and it has caused a bug with SuperTextMesh. When I present the scene, it is supposed to have text on canvas visible from the start. SuperTextMesh as objects in scene present normally. I have tried forcing a Rebuild in multiple places including Awake, Start and even frames past Start but nothing will show unless there is user interaction with the buttons.

Any ideas on what to do next?

Developer

Are you using async loading? Another customer was having an issue with this, and I was hoping to properly fix it in the next update. The temp solution I told them was to use FindObjectsOfType() and call Rebuild() on all of the meshes, but that's weird that it's not doing anything for you. The cause probably has something to do with the OnSceneLoaded delegate on STM.

Does it still happen with non-UI text? That might help me narrow down the cause.

Yep I'm using async loading. Non-UI text works perfectly on the scene load

Developer

UI text has given me so many issues, it's frustrating to troubleshoot... Could you send me a .unitypackage with an example scene to my support email? Either the one on STM's store page, or the one on my website will work!