Skip to main content
Discovery icon for Official Unity Discord Discord server

Official Unity Discord

31,894 Online
140,061 Members
# 💻┃unity-talk4 people

ScriptableObjects missing on scene change

ScriptableObjects lose their references when transitioning between scenes, persisting as null even after exiting Play mode.

  • ScriptableObjects work normally when launching a scene directly, but become null and lose references when loading from a main menu scene
  • ScriptableObjects should generally be treated as read-only, as runtime modifications cause data persistence issues across editor and build environments
  • References remain null even after exiting Play mode, and reloading scenes causes issues with persistent objects
  • Suggested initial troubleshooting steps include reimporting the ScriptableObject assets or restarting the Unity editor
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App