Gizmos in play mode

Be careful with ticking the gizmos button in play view. It kills performance and the gizmos does not show in the play view so it can be hard finding out whats wrong. I saw it in the profiler that DrawGizmos took 30 ms :smile:

Does unity have a plan on supporting gizmos in VR view?

Hi @MDADigital , thanks for your feedback. Given it’s a CPU API, it can generally be quite slow.

We don’t support, nor do we have plans to support gizmos in VR. However, feel free to check out this repo which contains a basic GizmoModule that our team uses for development of our own tools (e.g. EditorXR). It’s not formally supported but may be worth looking at.

Maybe disable the gizmos for VR? Only way to know its the gizmos that tank perfomance is to profile.

Mentioned a repo without linking to it! Here it is: https://github.com/Unity-Technologies/SuperScience/blob/main/Runtime/GizmoModule/GizmoModule.cs

I am using this plugin (Look it up on asset store: Aline): ALINE - ALINE for this. It is not free but it works.

Do you know if Aline is working for single pass instanced in hdrp/urp?

Yes, I am using it on single pass instanced with URP. I would assume it works on HDRP but you may want to check with the author.