Hi everyone,
I have a prefab that contains a TextMeshPro gameobject, the parent gameobject has a setup script that modifies the material of the TMPro child gameobject (script works fine). Actually when the OnTriggerEnter event occurs the TMPro gameobject is activated and animation plays with the default material on the TMPro gameobject.
if I keep the the TMPro gameobject active(not suitable for the game) the animation plays as expected
if keep it active during the setup then deactivate it same issue
before upgrade 2019.4.21 the animation played correctly.
Can anyone point me to where the issue/error is. I posted on answers site also TextMeshPro meterial reverts to preefab default after collision - Questions & Answers - Unity Discussions