Unable to load correctly.

Announcements, support questions, and discussion for the Dialogue System.
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

When I changed the key to something else, the save was successful.
There are no errors.

Then I made the keys the same.
An error has occurred.
スクリーンショット 2024-02-21 183604.jpg
スクリーンショット 2024-02-21 183604.jpg (136.61 KiB) Viewed 486 times
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

That's correct. Different savers must use different keys.
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

Please let me check.
Can't all savers use the same key?
Do they all require different keys?
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

They all require different keys. The key is an index in the saved game data's database. If you use the same key for Position Saver and UIS Saver, for example, then when Position Saver saves its data under the index, it will overwrite the UIS Saver's data which is saved under the same index.
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

I felt like I was told many times that I had to set the same key over and over again, but it seems like the translation was misinterpreted.
sorry.
thank you very much.

When set as shown in the image, it was kept even if the scene was changed.
スクリーンショット 2024-02-22 092820.png
スクリーンショット 2024-02-22 092820.png (46.21 KiB) Viewed 459 times
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

Hi,

The UIS Saver in scene #1 and the UIS Saver in scene #2 must use the same Key.

However, this key should be different from the Dialogue System Saver's Key.

Also, please UNtick the "Restore State On Start" checkbox:

noRestoreStateOnStart.png
noRestoreStateOnStart.png (47.11 KiB) Viewed 452 times
fuakda
Posts: 27
Joined: Fri Sep 01, 2023 12:32 am

Re: Unable to load correctly.

Post by fuakda »

Many times Thank you.

There is a phenomenon where objects with "increment on destroy" set are destroyed and variables change every time the scene changes. Is there a workaround?
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unable to load correctly.

Post by Tony Li »

Post Reply