Problems saving references to ScriptableObjects

Discussion and help for Easy Save 3

Re: Problems saving references to ScriptableObjects

Postby Joel » Mon Nov 04, 2019 8:14 am

Hi there,

It sounds to me that Unity is losing the reference to the instance in the Editor, though it's not possible for me to tell for certain without access to a project which replicates this. Is there any possibility of PM-ing me a project which exhibits the error?

All the best,
Joel
Joel Tebbett @ Moodkie Interactive
Twitter - Unity - LinkedIn
User avatar
Joel
Moodkie Staff
 
Posts: 2523
Joined: Wed Nov 07, 2012 10:32 pm

Re: Problems saving references to ScriptableObjects

Postby Rdbk » Mon Nov 04, 2019 4:16 pm

Is there some way I could test this? Sending the actual project is not possible and trying to replicate with another project could be problematic as I cannot replicate the problem even with my current project (it seems to just come and go). I can try it soonish, but I am not very optimistic I will be able to replicate it.
Rdbk
 
Posts: 18
Joined: Sun Jun 09, 2019 3:58 pm

Re: Problems saving references to ScriptableObjects

Postby Joel » Tue Nov 05, 2019 6:12 pm

Hi there,

I've created an update which I'll PM to you which outputs what is happening when reading the ScriptableObjects (i.e. whether the ID exists, or whether it's creating an instance of it) to a log file in Application.persistentDataPath. If you take a look at this file if the issue occurs again, it might give us some insight into what is happening.

All the best,
Joel
Joel Tebbett @ Moodkie Interactive
Twitter - Unity - LinkedIn
User avatar
Joel
Moodkie Staff
 
Posts: 2523
Joined: Wed Nov 07, 2012 10:32 pm

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron