Web Player Debug Build - Debug.DrawRay


Is there any reason why Debug.DrawRay does not work in the Web Player? I have "Debug Build" checked in the build settings but I am not getting lines at all. I know it seems strange that I would want them, but its for a tutorial project and they are absolutely necessary :)

There's no way to make Debug.DrawRay or Debug.DrawLine visible in the player. You could however try a third-party solution for drawing pixel-lines in the player or write your own line-mesh-creation script. In my current project I'm using Vectrosity for that purpose