unity debug.draw ray code example Example: unity can't see Debug.DrawRay Turn on gizmo's in the game tab.