Why this grey gizmo when running?


It shows a grey gizmo for every collider when running, covers everything beneath. It can be hidden if I uncheck all gizmos. But is there some way to change its transparency? It is useful but I need to see things beneath it.

Hi @zephyr831125 , I’m not sure about changing gizmo colors from editor UI, but you can definitely change them in code - see DrawComponent.OnDrawGizmos() in com.unity.physics\Unity.Physics.Hybrid\Utilities\DebugDisplay\DisplayCollidersSystem.cs . Grey is currently used for static and yellow for dynamic bodies.

Thank you! but how can I change the code in a package?

You can find some suggestions here: How to modify Unity packages using custom code and files? *[and also export custom package?]*

Thank you!

1 Like