This package allows toggling the Unity Game View to fullscreen mode by pressing F12 during Play mode.
The package uses reflection and Harmony to modify internal Unity Editor behavior.
Note: Due to reliance on internal APIs, future Unity updates may break compatibility.
This solution has been tested and confirmed working with Unity 2022.3 and Unity 6.
- Monitor Limitation: Fullscreen currently works reliably only on the monitor on which Unity was initially launched. If the game view does not scale right move the Unity window to your main monitor.
- Startup Error: An error might appear upon opening Unity if Burst is enabled. This error is harmless and can be safely ignored.
- Performance: The Game View renders twice, potentially impacting performance.
- Open Unity’s Package Manager.
- Click the + button.
- Select Add package from git URL...
- Paste the URL of this repository.
Once installed, press F12 during Play mode to toggle fullscreen on the Game View.
For issues or suggestions, please open an issue in the repository. If you find this tool useful, please give this repository a star so that others can find it too!
Thank you to everyone participating in the development!