3
\$\begingroup\$

I'm have created a small Unity project but physics has weird behavior (bug). Unfortunately it only happens on some specific hardware (after build), not on development machine.

I don't know what is the reason it's probably due to different framerate. Viewing all object and their colliders would probably help me a lot.

Is there a possibility in Unity to view all colliders in the game at run time (some kind of debug mode). Something similar as Game tab view in Unity with Gizmos option enabled, but for all objects ?

\$\endgroup\$
1
\$\begingroup\$

There's nothing built in that'll allow you to view gizmos in a released game. However, you can create your own debugging viewer by using the LineRenderer.

Personally I would create something like a DrawBounds method that accepts the Bounds property of the collider.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.