Copyright © 2026 Unity Technologies
Thank you for reporting a bug to Unity. After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We will close this case as 'As Designed.' The issue is how Handles API were used with the PreviewRenderUtility. Since the preview already sets up a camera pixel rect and has a render target texture configured. Attempting to then setup and draw handles outside of the Begin/EndPreview scope is very brittle. The issue is essentially a mismatch between different render targets and coordinate spaces. Recommendation for the user is to draw Handles within the preview's Begin/End scope. In ScenarioEditorWindow.OnPreviewGUI, just before `var result = _previewUtility.EndPreview();` do the Handles render pass: var previousActive = RenderTexture.active; RenderTexture.active = _previewUtility.camera.targetTexture; using (new Handles.DrawingScope(Matrix4x4.identity)) { Handles.SetCamera(_previewUtility.camera); DrawGizmos(); } RenderTexture.active = previousActive; Then replace the // 2. Draw Handles Overlay (On all layout and input events) step with: if (evt.type != EventType.Repaint && _previewUtility != null && _previewUtility.camera != null) { Handles.SetCamera(_previewUtility.camera); DrawGizmos(); } This configuration fixes the issue on our end and matches the handle rendering with the preview's content.
How to reproduce:
1. Open the attached "IN-147602_URPLTS.zip" project
2. In the Project tab, double-click on the "NewScenario" asset to open it in the custom Animation Auditor window
3. At the bottom of the Animation Auditor window, on the timeline, press either the purple or yellow dot
4. Adjust the Animation Auditor viewport (Zoom out, rotate view) until gizmo handles become visible
5. Observe the Animation Auditor viewport
Actual result: Gizmo handles are offset from the character model in the middle and usually rendered in the bottom left corner
Expected result: Gizmo handles render on the character model
Reproducible with: 6000.0.0f1, 6000.0.80f1, 6000.3.20f1, 6000.5.5f1, 6000.6.0b5, 6000.7.0a3
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Issues you vote on will appear here