- Home /
Web Player Debug Build - Debug.DrawRay
Hi,
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 :)
Answer by col000r · Mar 26, 2011 at 03:18 PM
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
Your answer
Follow this Question
Related Questions
Security.PrefetchSocketPolicy does not work in debug session? 0 Answers
Can I Fake Cookies for Debugging in Web Builds? 1 Answer
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How to know if the running web player is the development or release one ? 1 Answer