Page 2 of 2
Re: SaveSystem.loadEnded is not invoking
Posted: Tue Jul 04, 2023 5:14 pm
by Tony Li
Hi,
That DropMeFiles link doesn't work for me, sorry.
Re: SaveSystem.loadEnded is not invoking
Posted: Wed Jul 05, 2023 11:44 am
by Fitbie
Ill try attach it here
[deleted]
Re: SaveSystem.loadEnded is not invoking
Posted: Wed Jul 05, 2023 1:25 pm
by Tony Li
Hi,
(I deleted the code since it's copyrighted.)
I don't see any differences in SaveSystemEvents.cs.
You're using an old SaveSystem.cs script that's missing several improvements. Can you try the current version?
Version 2.2.38.2 is still pending release. It has one additional fix:
- Fixed: SaveSystem.loadEnded is now invoked even if loadStarted has no listeners.
If you need that fix, let me know.
Re: SaveSystem.loadEnded is not invoking
Posted: Sat Jul 08, 2023 5:24 am
by Fitbie
Hey! Thanks
Sorry, forgot about this
I have a big project and I don't even update the unity hub, haha, (had a negative experience after updating some assets/unity versions)
I'll try to figure out the current one. If I can get a fix or an idea how to fix it myself, I'll be very happy! Thanks Tony!
Re: SaveSystem.loadEnded is not invoking
Posted: Sat Jul 08, 2023 9:06 am
by Tony Li
You can probably just import Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs. Here's the latest version (as of July 8, 2023):
PixelCrushers_SaveSystemPatch_2023-07-08.unitypackage
Back up your project first.
Re: SaveSystem.loadEnded is not invoking
Posted: Sat Jul 08, 2023 1:47 pm
by Fitbie
Unfortunately I get the error
Failed to find 'SceneValidationMode' namespace type or name (no using directive or assembly reference?)
But really, thanks a lot for all you do Tony!
Re: SaveSystem.loadEnded is not invoking
Posted: Sat Jul 08, 2023 3:31 pm
by Fitbie
- Fixed: SaveSystem.loadEnded is now invoked even if loadStarted has no listeners.
Silly me, im missed this message.
Actually, yeah, this was the problem. Now everything seems to be okay (at least loadEnden is invoking)
Thank you Tony, the best support in all of Assetstore devs!
If ill find something weird ill reply here.
In case somebody has same problem, you need to find
public static void LoadFromSlot(int slotNumber) SaveSystem.cs method and delete
if (loadStarted.GetInvocationList().Length > 1) check, and (as i understand) also delete
else{ LoadFromSlotNow(slotNumber);}
Re: SaveSystem.loadEnded is not invoking
Posted: Sat Jul 08, 2023 3:57 pm
by Tony Li
Or use the current version of the Dialogue System if you can.
Here's the SceneValidationMode script that goes with the SaveSystem unitypackage above:
DS_SceneValidationMode_2023-07-08.unitypackage
Re: SaveSystem.loadEnded is not invoking
Posted: Sat Jul 08, 2023 4:13 pm
by Fitbie
Thanks, you are the best!
I think ill try up to date next weekend, im too paranoid