Hey Guys,
I’m working on a 2D game, and have a script to hide a door sprite when the player opens the door.
I’ve attached the door sprite to the script variable in the editor, but when I preview the game the variable is empty.
This is edit mode:

Then when I hit the play button to preview the scene:

When I’m running the game, I can re-attach the door sprite and the script works, but when I preview it again, the variable is empty again.