References lost when entering play mode
-
- Posts: 13
- Joined: Sun Oct 01, 2023 11:04 am
References lost when entering play mode
In editor after refreshing the reference manager, the ref count is 7587, but after entering play mode, it changes to 7223. It lost some references to my scriptable objects. I've added the ref folder to setting and also tried manually adding ref, but they are still lost.
Re: References lost when entering play mode
Hi there,
It's normal for the reference count to change at runtime as some Editor-specific items are removed.
If you are having issues please could you let me know any errors or warnings you are getting?
All the best,
Joel
It's normal for the reference count to change at runtime as some Editor-specific items are removed.
If you are having issues please could you let me know any errors or warnings you are getting?
All the best,
Joel
-
- Posts: 13
- Joined: Sun Oct 01, 2023 11:04 am
Re: References lost when entering play mode
Hello Joel,
I think I have resolved the issue. It looks like it was because I put the manager in a prefab and marked it dontdestroyonload. I am not sure if that was the real cause, but right now it works well.
I think I have resolved the issue. It looks like it was because I put the manager in a prefab and marked it dontdestroyonload. I am not sure if that was the real cause, but right now it works well.
Re: References lost when entering play mode
Glad you managed to resolve the issue. For future reference you shouldn't put the manager in a prefab or mark it as DontDestroyOnLoad otherwise it can't operate correctly. See the References guide for more information:
https://docs.moodkie.com/easy-save-3/es ... eferences/
https://docs.moodkie.com/easy-save-3/es ... eferences/