Hello everyone. I downloaded asset from unity store and tested it on a different scene. When i came back to my default scene all the layers and tags i created vanished
It is causing huge problem in my game.The player is dying when touching the coins. Power ups dont work and there are many other problems Does anybody know a fix for this?2 Answers
2me too ???
I appreciate the note, Rob. I actually have other behavior I need for the objects that use this script, so I'm keeping those in my Monobehavior class and keeping my data access class definition outside of the scope of that.
– GlitchThiefyour project setting maybe changed by your import asserts
And that is a perfectly good reason to do it then :) You would be surprised how many people use monobehaviours like data files though, its sickening lol. Of course, there are a large number of bad practices perpetuated by a lot of Unity devs. For example, GameObject.Find("name") is one of the worst.
– RobAnthem
I don't know why it did happen, but did you try to check for the autosaved backup in the Temp directory of your Unity project's folder and recover from that?
– Piotroneme too ????????????????????????????
– Hamilcar-gamesDespite the effectiveness of this, it is terrible programming to create a class as MonoBehaviour for the sole reason of accessing data from the default inspector.
– RobAnthem