Why do all of my editor references periodically disappear?
I've been working on a relatively small and simple project. Periodically, and I'm not sure what triggers it, all the references I have to things in the editor disappear (both from GameObjects in the scene and instances of ScriptableObjects). Like the fields are there but everything defaults back to 'None' and I have to manually drag everything in to initialize it again. Once or twice when I see this happen I can quit Unity and re-open it and it will be fixed, but this is the minority of the time.
I have had to do this many times - so many in fact that I have basically moved to not using the editor for anything and just create everything in code.
Is this just a normal thing? I have started using git with the project in the hopes that I might be able to roll back when it happens - is that just how everyone operates? Is there some specific action I'm taking that is known to cause this?
This project started on the LTS at the time - 2018.3.14f1 I believe, but was later upgraded to 2019.2.8f1 to see if it would help (it did not). This is on MacOS (was 10.14 and now 10.15).
Your answer
Follow this Question
Related Questions
How to get an error/warning about missing scripts on gameObjects? 2 Answers
Solution .Player project keeps losing reference to UnityEditor.dll 2 Answers
How does one copy and paste keyframes in the Animation Editor? 4 Answers
Canvas Error - Everything tinted blue 2 Answers
Unity 5 Tabs Disappear 3 Answers