Hello! I’ve come across what seems to be a pretty massive issue and I’m having trouble understanding what is going on, but it is breaking my package.
This only appeared in 2020.3 I have no issues in 2019.4. I am currently downloading 2020.2.7 to see if it is present there.
What it SEEMS to me is happening is that script variables are not being reset to their default values. For example, I am using the Singleton class from the Unity Wiki Here which no longer works.
https://wiki.unity3d.com/index.php/Singleton
In particular m_ShuttingDown does not get reset to false, so all my singletons are returning null after the first run.
It gets weirder. I am running the same code just fine in my repo, but when it is pulled in as a package is when it breaks. When I move that same code from the package folder to the Assets folder, it’s still broken.
I thought maybe it had to do with being in a different assembly but that is the case when it is in my repo as well.
I really don’t even know how to ask this question but it is totally breaking something that I use A LOT so any advice on what might be happening would be amazing. I’m stumped.