- Home /
Question by
jeango · Oct 10, 2017 at 12:55 PM ·
unity 5performancedebug.drawline
Does Debug.Drawray affect performance in the build?
Hi, I'm making a rather liberal use of Debug.DrawRay and Debug.DrawLine in my code to help with editor visualisation of a bunch of things.
I was wondering though: does this have an impact on performance in the final build when it runs on standalone?
Comment
Answer by Santiago-Morales · Nov 11, 2021 at 12:09 AM
Hi, from what I saw online it seems that it does affect performance but not substantially unless you create thousands. Here's the link I found https://www.reddit.com/r/Unity3D/comments/74zp31/question_maintain_severals_debugdrawray_is_bad/
Your answer
