Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: turritom on March 27, 2016, 04:04:35 PM
-
hi, i have a problem if i use the array list easysave function.
i use some array pools of prefab gameobject to spawn random game objects in my levels
if i save the arrays ..and then load the arrays back .. they are all NULL
see the screenshots
(https://dl.dropboxusercontent.com/u/514672/arraysave.JPG)
(https://dl.dropboxusercontent.com/u/514672/save1.JPG)
(https://dl.dropboxusercontent.com/u/514672/load1.JPG)
(https://dl.dropboxusercontent.com/u/514672/arrayload.JPG)
-
Hi,
I don't think you can serialized gameobjects actually.
Can you try saving and loading strings? does that work? if it does, then you shoudl save a reference of the gameobject ( the name or the path), and then when loading, apply a routine that will find the gameobjects based on them reference.
Bye,
Jean
-
ooh ok ..thanks for you reply :) i will think about a solution.