Twice in one week i saved my project and woke up the next morning to find all of my scripts that were added to anything in my game comes up missing.
I’ve deleted my script assembly’s and tried to reimport all scripts but that did nothing. I’m not touching unity again until this is addressed. I’ve lost around 50 hour for work now because of this.
Is there anything I can do or that unity’s going to do to address this?
AFAICT This is not a Unity issue but something every developer needs to learn early on:
All scene objects (prefabs, component types, textures and other assets as well) reference each other thanks to unique ID’s in their .meta files.
If your or your OS deletes them (usually by mistake or by wrong VCS setup) - you will lose that work. This applies to all engines out there, where different engines just use different data type for ID (different pros/cons).
I found a solution, i took all make scripts and dragged them into a folder in on my pc, this somehow fixed it