Why is the Canvas Lines Showing at Run Time

 


Problem: Unwanted Lines from Gizmos in Unity


In Unity, unwanted lines or visual artifacts in your game view can be caused by Gizmos, which are typically used for debugging purposes during development.



Solution: Disabling Gizmos with a Click


To prevent unwanted lines caused by Gizmos:



1- Unity Editor Gizmos Button:


    • In the Unity Editor, locate the Gizmos button in the Scene View.
    • Click on the Gizmos button to toggle the visibility of Gizmos in the Scene View on or off.
    • Disabling Gizmos in the Scene View ensures they won't appear in the Game View during gameplay.



By simply clicking on the "Gizmos" button in the Unity Editor, you can easily disable Gizmos, preventing unwanted lines or visual artifacts from appearing in your Unity game. This quick action ensures a clean and uninterrupted gaming experience for your players.





Happy coding


Previous Post Next Post

Contact Form