Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: turritom on March 27, 2016, 04:04:35 PM

Title: Array Maker Easy Save 2 error[WONTFIX]
Post 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)

Title: Re: Array Maker Easy Save 2 error
Post by: jeanfabre on March 28, 2016, 02:56:21 AM
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
Title: Re: Array Maker Easy Save 2 error
Post by: turritom on March 28, 2016, 05:49:16 AM
ooh ok  ..thanks for you reply :) i will think about a solution.