Gameobject sprite missing at runtime when animator is enabled
Greetings. Ive identified a problem with one of my 2d platform gameobjects with a animator component attached to it. The platforms sprite goes missing at runtime and this is directly caused by the animator itself, which before wasnt a problem. when i disable the animator and run the game the sprite doesnt go "missing", but as soon as i enable it, its missing again. This is probably happening because i started the project in unity 2019b and switched to 2018.4.12 because i was getting weird curl errors that prevented me from building for Android. The affected prefab(platform) functions as it should other then the fact that the sprite goes missing at runtime and nothing about the project has changed. Code works perfectly as it did when there were no issues. I just installed unity 2019.2.13 hoping this would solve it but no change. Tried re-importing the asset but nothing. This isnt a collision issue. The 'z' axis is not modified at runtime. and its definitely not a code issue because as stated before the functionality isnt affected, its just the sprite going missing. Im out of ideas now and exhausted online resources. Can anyone help in any way. Thanks in advance.
Your answer
![](https://koobas.hobune.stream/wayback/20220612215110im_/https://answers.unity.com/themes/thub/images/avi.jpg)