Load Data More Than One Time

Discussion and help for Easy Save 3
Post Reply
MASC
Posts: 7
Joined: Wed Nov 13, 2019 10:09 pm

Load Data More Than One Time

Post by MASC »

Hi,

Is it possible to load a gameobject data more than one time (i.e. basically instancing)?

Thanks!
MASC

User avatar
Joel
Moodkie Staff
Posts: 2806
Joined: Wed Nov 07, 2012 10:32 pm

Re: Load Data More Than One Time

Post by Joel »

Hi there,

Because aspects of the GameObject need to be saved by reference (so that we can uniquely identify its Components), it's not possible to load it multiple times because there will already be objects in the scene with the same instance IDs.

Generally if you want to create duplicate GameObjects you would create a prefab and instantiate this multiple times.

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

Post Reply