Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[solved] All STM Components Blank

A topic by RoniDMC created Sep 28, 2017 Views: 600 Replies: 4
Viewing posts 1 to 4
(1 edit)

Unity - 2017.1.1f1

STM - 1.5.2

Don't know when this happened. Could've been after upgrading Unity or it could've happened after upgrading STM. I upgraded both around the same time. I upgraded through the Unity store first, saw what happened, then tried the Itch.io version to no avail.

All of my STM components are now blank and trying to delete the old ones and/or creating new ones gives me the same empty component. Tried creating them from scratch, but same thing happens when creating a STM object.


Developer

Hey!

Not too sure what's causing this, would it be possible to send me a link to a sample project? My best guess is that it's some kind of material issue or shader issue? I renamed some shaders in the last update, so maybe it's trying to use the wrong one?  That's my best guess from this screenshot.

Are there any errors being returned in the console?

(2 edits)

Here's a link to the sample project with the same scene as above: [Link Removed]

There is an error it's throwing out:

NullReferenceException: Object reference not set to an instance of an object
SuperTextMesh.get_data () (at C:/Users/Ron/Desktop/Ron's Files/Projects/Game Projects/Unity/PickPocket/Assets/Clavian/SuperTextMesh/Scripts/SuperTextMesh.cs:504)
SuperTextMesh.get_GetTime () (at C:/Users/Ron/Desktop/Ron's Files/Projects/Game Projects/Unity/PickPocket/Assets/Clavian/SuperTextMesh/Scripts/SuperTextMesh.cs:579)
SuperTextMesh.Rebuild (Single startTime, Boolean readAutomatically) (at C:/Users/Ron/Desktop/Ron's Files/Projects/Game Projects/Unity/PickPocket/Assets/Clavian/SuperTextMesh/Scripts/SuperTextMesh.cs:944)
SuperTextMesh.Rebuild (Boolean readAutomatically) (at C:/Users/Ron/Desktop/Ron's Files/Projects/Game Projects/Unity/PickPocket/Assets/Clavian/SuperTextMesh/Scripts/SuperTextMesh.cs:935)
SuperTextMesh.Update () (at C:/Users/Ron/Desktop/Ron's Files/Projects/Game Projects/Unity/PickPocket/Assets/Clavian/SuperTextMesh/Scripts/SuperTextMesh.cs:994)

Developer

Hey!

In STM's resources folder, change the object named "TextData" to "SuperTextMeshData". This was changed in v1.5 to avoid any future conflicts with other assets. I wanted to remove the dependence on this object to avoid this problem popping up, but was having issues replacing the info this ScriptableObject holds with static variables. Sorry about that!

Awesome that worked!  In case anyone else runs across this same issue, I also had to change the "TextData" script inside Scripts as well.

Thanks a lot!