I’m having this weird problem that keeps recurring. I have a couple of scriptable objects, all of them working properly except one of them that randomly keeps losing reference to the prefab it had been given.
All of my scriptable objects were created in Unity 2020, but I have upgraded the project to 2021, and everything was working fine, until I made a new scriptable object and realized that it keeps randomly losing its prefab reference when I enter play mode. And I don’t know why!
I tried applying the prefab and restarting unity, applying prefab and saving, creating a new scriptable object, but it keeps forgetting this one reference. I also tried it with a different prefab but it still caused the same problem. Keep in mind that all the other scriptable objects similar to this one are OK, and never lose reference. It’s only this one.