Page 1 of 3

Unable to load correctly.

Posted: Sat Feb 17, 2024 9:02 am
by fuakda
Saved using Pixel Crushers Dialogue System Save System.
At that time, the state of "ULTIMATE INVENTORY SYSTEM" is also saved and loaded.
However, if you check "save current scene" in "savesystem" and load it, the character's inventory will be empty and settings such as weapon collider will also disappear.
The scene cannot be changed.
Is there any order or setting when loading to avoid this problem?
Sorry for the lame words.

Re: Unable to load correctly.

Posted: Sat Feb 17, 2024 9:56 am
by Tony Li
Hi,

The UIS Saver component doesn't rely on "Save Current Scene". Please review the UIS integration setup instructions in case a step got missed.

If that doesn't resolve the problem, are there any errors or warnings in the Console window?

Re: Unable to load correctly.

Posted: Sun Feb 18, 2024 1:22 am
by fuakda
thank you for your reply. I am very happy.
I think there are no problems integrating with UIS.
In "UIS DS Demo", "save current scene" in "savesystem" was checked and the same state was set.
When loading the state, it goes dark in the "standard scene transition manager".
I set it up in the same way, but when it loads, the player's state is strange and the object specification disappears.
It will not be the same as the demo scene, such as the inventory being empty.

>The inventory or the item slot collection for the item slot collection view is null

Saving and loading are done correctly.
I can't switch scenes.
Do you have any tips?

Re: Unable to load correctly.

Posted: Sun Feb 18, 2024 9:34 am
by Tony Li
Hi,

Are there any errors or warnings in the Console window?

Did you add the destination scene to your project's Build Settings?

If other savers -- such as Position Saver, Active Saver, Dialogue System Saver, etc. -- are saving correctly, then the problem might be on the UIS side. In this case, you will need to contact the developer in the #ultimate-inventory-system channel of Opsive's Discord server.

Re: Unable to load correctly.

Posted: Sun Feb 18, 2024 7:42 pm
by fuakda
The problem is not "UIS".
I have a problem with scene changes.

Since the UI etc. are also lost,
It seems that the player is set before the UI is drawn.

There seems to be no problem with saving and loading.




Re: Unable to load correctly.

Posted: Sun Feb 18, 2024 9:09 pm
by Tony Li
I'm not sure I understand. But this might be what you are describing: How To: Manage Player Controls and Scene Changes

If not, please send a reproduction project to tony (at) pixelcrushers.com

Re: Unable to load correctly.

Posted: Mon Feb 19, 2024 12:38 am
by fuakda
I'm sorry for not being able to convey it well.
Nothing could be resolved.
I'm having trouble producing it as it is.

Dialogue System Saver It's working properly
Active Saver It's working properly
Position Saver doesn't work

sorry. I would be happy if you could help me.

Re: Unable to load correctly.

Posted: Mon Feb 19, 2024 9:06 am
by Tony Li
Is the Position Saver the only component that is not working?

If so, then make sure the player's Position Saver Key is correct. It should use a Key value that is different from the Key values of any other Saver components on the player GameObject.

If you are using spawnpoints, tick the Use Player Spawnpoint checkbox.

If neither of these suggestions help, maybe another component is preventing the Position Saver from moving the player. For example, maybe Character Respawn or Character Movement is keeping the player is in a specific place. I don't know these scripts, so I don't know what they do.

Re: Unable to load correctly.

Posted: Mon Feb 19, 2024 10:25 pm
by fuakda
When an object is loaded, it is moved to the 0, 0, 0 location, not the saved location.
Also,
"PixelCrushers.SaveSystem.LoadScene(House@point01);"
But it's only in the initial position.

Image

Re: Unable to load correctly.

Posted: Mon Feb 19, 2024 10:43 pm
by Tony Li
Hi,

UNtick Restore State On Start and UNassign Target.

Note: If you want this GameObject to appear at the position of "point01", tick Use Player Spawnpoint.