Page 1 of 1

This error

Posted: Sun Mar 05, 2023 8:52 am
by SealDev
When entering playmode: (1 error)

Re: This error

Posted: Sun Mar 05, 2023 4:02 pm
by Tony Li
Hi,

Something strange is going on with your Save System GameObject or something that is calling a Save System method. Can you test the save system in a new, empty project with just the Dialogue System? That might help you identify what's going on in your main project.

If you can't find the issue, you can send a reproduction project to tony (at) pixelcrushers.com.

Re: This error

Posted: Sun Mar 05, 2023 4:25 pm
by SealDev
From my testing, it seems that it doesn't happen in other scenes, only this specific one.

If I go to another scene "Y", then come back to scene "X", the first time I enter play mode nothing shows up. The 2nd time I enter play mode this error starts showing up.

Re: This error

Posted: Sun Mar 05, 2023 5:09 pm
by Tony Li
Which scene(s) contain SaveSystem components?

Which scene is open when you enter play mode?

Re: This error

Posted: Mon Mar 06, 2023 1:38 am
by SealDev
I have about 30 scenes. In all of them, even if I enter play mode 2+ times, nothing happens.

Except in 1 scene. I tried disabling Dialogue Manager. Error disappeared. I checked the Dialogue Manager prefab. It looked completely identical in all the settings.

But I placed a new prefab instance in that scene. Now the error seems to be gone. Indeed strange. Hope it won't affect player save files.

Re: This error

Posted: Mon Mar 06, 2023 8:16 am
by Tony Li
It shouldn't affect save files. Keep in mind that, unless you've changed the behavior, the first Dialogue Manager to exist during play will survive scene changes and replace Dialogue Managers in subsequently-loaded scenes. If your SaveSystem component is on the Dialogue Manager, check the first Dialogue Manager to exist and make sure it's configured the way you want.