Search found 35 matches

by Rdbk
Thu Dec 05, 2019 7:08 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

I got the new dictionary method working... except that after restarting Unity, all the loaded maps were scrambled. Oh well. I decided to give the ES3 option another go and refactored my data scripts so that they are created in the scene where they are used. So now I have one ES3Manager per scene (wi...
by Rdbk
Tue Dec 03, 2019 6:58 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

Ah now I understand, thanks for the clarification! I will think if I could delay the declaration of the list until the next scene. It seems that changing to one single ES3Manager with DontDestroyOnLoad instead of one per scene wrecked my map saving/loading functionality (I use ES3 to save <Vector3In...
by Rdbk
Tue Dec 03, 2019 3:52 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

I tried it with copy-and-pasting, but that didn't work (problem resurfaced) so it seems like DontDestroyOnLoad is the way. The singleton approach indeed didn't work as I got the merging error. I have a script that is created when the game starts and exists until the game is closed. What if ES3Manage...
by Rdbk
Mon Dec 02, 2019 6:26 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

Putting DontDestroyOnLoad on the ES3Manager seems to indeed solve the issue in my actual project also. I had the "Auto Add Manager to Scene" option on with ES3Manager in every scene, but I assume that doesn't facilitate the merging then. Just to verify, I should probably now turn that opti...
by Rdbk
Thu Nov 28, 2019 4:43 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

I managed to replicate it now with a new project. Sending you the project via PM.
by Rdbk
Wed Nov 27, 2019 6:30 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

Hey Joel, I will get to your questions in just a moment. Here's an update on the problem: -I tried to manually create a skill in editor, no difference -Deleting (& respawning) ES3Manager didn't help -I have a ScriptableObject type ("DebugSO") that I created for debugging this, which I ...
by Rdbk
Sun Nov 24, 2019 5:51 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

Hey, I added some new skills to the game and the problem reappeared. But this time it was obvious that only the newly added skills were missing after loading - the older skills were fine. I add skills by entering their details into .xls file, from which I copy all into a .txt file and then parse the...
by Rdbk
Mon Nov 04, 2019 4:16 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

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 b...
by Rdbk
Sun Nov 03, 2019 1:50 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

It seems it was too good to be true as the problem resurfaced without making changes to my earlier fix. I tried redoing the earlier fix but it didn't work. The curious thing is that some skills persist after loading, but most don't. I noticed that most of the persisting skills are those that are ref...
by Rdbk
Sat Oct 12, 2019 8:26 am
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 11053

Re: Problems saving references to ScriptableObjects

Great to hear! Looking forward to it!