Hello,
I am currently working on an android app with Unity. We have a little problem with saving a gameobject and its childs. We have a scene where you can draw and put sprite gameobjects on the drawing canvas. When we try to save the gameobject in a file it says: "{"Stamps":{"__type":"UnityEngine.GameObject,UnityEngine.CoreModule","value":null}} ". When we try to load the gameobject it fails (maybe we are doing something wrong).
How can we save and load the complete gameobject with its children attached?
Thanks in advance.
Problem with saving gameobjects and childs
Problem with saving gameobjects and childs
- Attachments
-
- easysave2.png (9.45 KiB) Viewed 634 times
-
- easysave1.png (16.27 KiB) Viewed 634 times
-
- easysave.png (46.77 KiB) Viewed 634 times
Re: Problem with saving gameobjects and childs
Hi there,
You’re trying to save Transform.parent as a GameObject, but Transform.parent is a Transform, not a GameObject.
All the best,
Joel
You’re trying to save Transform.parent as a GameObject, but Transform.parent is a Transform, not a GameObject.
All the best,
Joel
Re: Problem with saving gameobjects and childs
Hii,
Thank you for the quick reply!
Greetings,
Chenoa
Thank you for the quick reply!
Greetings,
Chenoa