Yilmaz Kiymaz

Efficient UI - Optimize Overdraw and Raycasts in Unity UI

Quickly identify performance problems with your Unity UI Canvases and UI elements. Easily eliminate unnecessary overdraw and excessive Raycast Target usage to improve your game's optimization.

Add a comment

Replies

Best
Yilmaz Kiymaz
Maker
📌
Hey everyone! We just released a new Unity Editor tool we originally developed to optimize our own mobile/web game, Sandbox City. It helped us clean up some major UI performance issues—so we decided to polish it up and release it on the Asset Store so others can benefit too. Efficient UI is designed to help you identify and fix overdraw and unnecessary Raycast Targets in your UI Canvases. It’s super helpful for squeezing out extra performance, especially on lower-end devices. What It Does: Visualizes UI overdraw and raycast target overlaps in the Scene view Highlights overlap count with color-coded visualization Lets you pick UI elements directly in the scene to see what’s overlapping One-click optimization to disable Raycast Targets when possible Fully customizable visualization options Source code included How to Use: Open it from Window > Efficient UI > Open Window Choose Overdraw mode (all UI elements) or Raycast mode (raycastable only) Tweak colors and settings to your liking Use Picking Mode to select and analyze overlapping elements Tips: Reducing UI overdraw = better GPU performance, especially on mobile Disable Raycast Target on non-interactive elements like Text Use Picking Mode to quickly debug deep UI hierarchies Compatibility: Unity 2021.3+ Best used with Screen Space - Overlay canvases Make sure your Scene view is in 2D mode for proper visualization Let me know if you have feedback or ideas—always happy to improve the tool! Cheers!