Debug Plus by benoit-dumas - 2


Unity asset to draw all built-in gizmos in the Unity Debug way

Unity 2018.3.0f2MIT LicenseUpdated 56 days agoCreated on March 7th, 2019
Go to source

please report broken links

Follow me on twitter !


You already like Debug.DrawLine and Log? You will love DebugPlus’ DrawMesh, DrawSphere, LogOnScreen…

DebugPlus brings features that are missing in Unity Debug, allowing to draw gizmos and logs at run time, from anywhere in your code with a single line. Specify optional color, duration and matrix in a fluent way.

This free and open-source asset is in beta, you are welcome to report any issue in the github issue page. It will be released on the asset store when beta testing is done.


Gizmos are powerfull for debugging, but Unity Debug only offers Line and Ray. DebugPlus adds all built-in gizmos:

  • DrawCube
  • DrawSphere
  • DrawMesh
  • DrawIcon
  • etc.


DebugPlus.DrawWireSphere(transform.position, 1).Color(;
DebugPlus.DrawCube(transform.position, new Vector3(1, 2, 1)).Color(;

Log on screen

Console logs are sweet, but sometimes it’s more convienent to write things directly on the screen. Inspired by Unreal Engine 4, DebugPlus LogOnScreen let you write your logs with color and duration on the top left corner of your GUI.


DebugPlus.LogOnScreen("motion " + debugMotion).Color(;
DebugPlus.LogOnScreen("An excpetion occured during played update : " + e.Message).Color(;

Note : on the first call to LogOnScreen, DebugPlus will create a special canvas that could mess with your existing GUI. Please report issues.

Planned features

DrawArrow, DrawDisc, DrawText at a world position… I’m open to suggestions !

Show all projects by benoit-dumas