Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Unity Debug Canvas

For about an hour ago a Debug Canvas started Instantiating on Play. I've searched around on the internet but can't seem to find anything. Are there by any chance some of you who might know how to disable it as it's taking up about half of the screen?

Edit: I tried to install the project on another computer and it doesn't show up. So idk if it has anything to do with the project or Unity itself.

Image

like image 456
Bugge Avatar asked Mar 05 '26 03:03

Bugge


1 Answers

Add this code to one of your scripts on Awake or Start:

UnityEngine.Rendering.DebugManager.instance.enableRuntimeUI = false;

This is mentioned in documentation

You have to be on CoreRP 12 or later as mentioned here

like image 188
Yousif Ragab Avatar answered Mar 06 '26 19:03

Yousif Ragab