Problem with saving gameobjects and childs

Discussion and help for Easy Save 3
Post Reply
chenoavw
Posts: 2
Joined: Thu Nov 25, 2021 9:32 am

Problem with saving gameobjects and childs

Post by chenoavw »

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.
Attachments
easysave2.png
easysave2.png (9.45 KiB) Viewed 626 times
easysave1.png
easysave1.png (16.27 KiB) Viewed 626 times
easysave.png
easysave.png (46.77 KiB) Viewed 626 times
User avatar
Joel
Moodkie Staff
Posts: 4846
Joined: Wed Nov 07, 2012 10:32 pm

Re: Problem with saving gameobjects and childs

Post by Joel »

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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
chenoavw
Posts: 2
Joined: Thu Nov 25, 2021 9:32 am

Re: Problem with saving gameobjects and childs

Post by chenoavw »

Hii,

Thank you for the quick reply!

Greetings,
Chenoa
Post Reply