Page 1 of 1

Load Data More Than One Time

Posted: Tue Dec 03, 2019 7:03 pm
by MASC
Hi,

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

Thanks!
MASC

Re: Load Data More Than One Time

Posted: Thu Dec 05, 2019 8:31 am
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