Stop Manual Scene Switching: A Unity Editor Tool to Play from Start Scene
The Problem: The "Broken Singleton" Headache
We’ve all been there. You’re deep into polishing Level 4, you hit the Play button to test a jump mechanic, and... CRASH. The game breaks because your GameManager or AudioSystem only initializes in the Splash Screen or Main Menu scene.
To fix it, you have to:
Save your current scene.
Navigate through the Project window to find
00_MainMenu.unity.Open it.
Press Play.
(Repeat this 50 times a day).
It’s a massive productivity killer.
The Solution: Start Scene Selector for Unity
I’ve created a simple, lightweight Editor script that lets you define a "Master Start Scene". Once set, you can press Play from anywhere in your project, and Unity will automatically load your designated starting scene first.
No more manual navigation. No more broken managers. Just a smooth, one-click workflow.
Key Features:
Persistent Setting: Set your start scene once, and it stays that way.
One-Click Play: Use the custom menu or a shortcut to jump straight into the action.
Editor Only: Zero impact on your final build size or performance.
Easy Reset: Switch back to Unity’s default behavior (playing the active scene) with a single click.
How to Use It:
Download the Package: Get the script from the link at the bottom of this post.
Open the Tool: Go to
Tools > Start Scene Settings.Assign Your Scene: Drag your Main Menu or Splash scene into the slot.
Play: Hit the Play button as usual, or use the menu
Tools > Play From Start Scene.
Download Link:
You can download the Unity Package or copy the source code here: https://ciihuycom.itch.io/unity-start-scene-shortcut-tool
I hope this small utility helps speed up your development process! If you have any questions or want to suggest a new feature for the script, feel free to leave a comment below.
Happy Coding!

Comments
Post a Comment