Search found 28 matches

by Rdbk
Fri Feb 07, 2020 10:53 am
Forum: General Discussion
Topic: IOException: Sharing violation
Replies: 2
Views: 331

Re: IOException: Sharing violation

Hey Joel,

Thanks for the tip! Added error catching to the method.
by Rdbk
Wed Feb 05, 2020 5:10 pm
Forum: General Discussion
Topic: IOException: Sharing violation
Replies: 2
Views: 331

IOException: Sharing violation

Hey, I recently released my game and I have now gotten several reports of the game getting stuck (not full freeze or crash, but unable to proceed). After going through some logs, I located the issue to an error with saving: IOException: Sharing violation on path C:\Users\bill\AppData\LocalLow\Redbea...
by Rdbk
Wed Dec 11, 2019 6:53 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 2112

Re: Problems saving references to ScriptableObjects

I ran into a problem which seems to be solved now and might not be related to this, but I figured I check with you if it might be related. -The problem was with my inventory (List of SO's) loading as null, even though it has always worked properly before. After a lot of debugging, I couldn't fully g...
by Rdbk
Thu Dec 05, 2019 7:08 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 2112

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: 2112

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: 2112

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: 2112

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 option off and...
by Rdbk
Thu Nov 28, 2019 4:43 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 2112

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: 2112

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 am referencing...
by Rdbk
Sun Nov 24, 2019 5:51 pm
Forum: General Discussion
Topic: Problems saving references to ScriptableObjects
Replies: 28
Views: 2112

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...