Page 1 of 1

Spawned Object issue [Solved]

Posted: Mon Sep 13, 2021 12:25 am
by nathanj
Hi Tony,

[See second post]

Having an issue with my Spawned Objects.

I am able to save the scene once and load back in with the spanwed object loaded correctly but when I save again and enter the scene the object is no longer in the scene.

Image

Image

Can you think of anything that I could be doing wrong?

Thanks,
Nathan

Re: Spawned Object issue

Posted: Mon Sep 13, 2021 2:10 am
by nathanj
Edit,

It was that the Spawn Object Manager component was on my Dialogue Manager component (thus on a persistent object). Moving this to a game object in the scene that was not persistent resolved it. Just like it says in the manual:
Each scene should have its own Spawned Object Manager, and the Spawned Object Manager in each scene should have a unique key that's not used in other scenes.
Thanks again for such an awesome asset.

Nathan

Re: Spawned Object issue [Solved]

Posted: Mon Sep 13, 2021 8:13 am
by Tony Li
Hi Nathan,

Remember to give each scene's SpawnedObjectManager a unique key (e.g., "Scene1Spawns", "Scene2Spawns", etc.).