playMaker

Author Topic: Selected Character Becomes “Missing (GameObject)” After Scene Change  (Read 115 times)

Wheroulatis

  • Playmaker Newbie
  • *
  • Posts: 1
    • 99 nights in the forest
Hi everyone,
I’m running into an issue in my project and could use some help.

I have three characters, and when the player clicks one of them, I use Set Game Object to store the chosen character in a global variable called Selected. I also mark both the Game Manager and the Selected object as Don’t Destroy On Load.

The Game Manager persists correctly when switching scenes, but the Selected character turns into “Missing (GameObject)” in the next scene.

It seems like I’m misunderstanding how to keep the selected character alive between scenes. What am I doing wrong here?

Thanks in advance!