Help~ I have some problems with my instantiating~

Hello~ there`

Help!

Here's my problem..

I already have gameobject "B" in my scene, I want to instantiate a gameobject "A", and I also want to attach "A" to "B", I used "instantiate" and "parent" to get it worked temporarily. But, when I move to another scene and again return to this scene , the gameobject "B" is got disappeared.. I'm wondering what happened..

So.. Can anyone tell me what mistake I have made and what should I supposed to do if I want to attach "A" to "B" permanently?

Sorry for my poor English and Thanks in advance!

When you switch back to the first scene you're reloading the original scene, which does not have an "A" in it. Assuming that you want "A" to be there even if the player exits and comes back, then you'll need to save (e.g. in the player's save-game, however you're implementing that) the fact that "A" is there, and then when you load the scene, check the player's progress and instantiate "A" again if necessary.