- Home /
Debug.DrawRay not drawing since upgrading my project to 3.3.*
I can't get the following code to render any Debug.Draw* code in my project. I had verified it working in a previous version of unity (same project). I am getting the "HI" output to the console, so I know the code is being run, but no rays. Before anyone asks, it is in the Update() method of my script.
Debug.Log("HI");
Vector3 forward = transform.TransformDirection(Vector3.forward) 10; Debug.DrawRay(transform.position, forward 10, Color.green);
Thanks.
Comment
Your answer
Follow this Question
Related Questions
Determine length of Debug.DrawRay ray 3 Answers
Can someone explain to me why this raycast doesn't fire straight? 1 Answer
Multiplayer drawing game 0 Answers
What should I do to debug this raycast? 1 Answer
Debug.DrawLine problem 1 Answer