Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b4
2022.1
Issue ID
1354071
Regression
No
Transform component cannot be edited in Inspector when using EditorWindow.GetWindow<SceneView>()
How to reproduce:
1. Open the user's attached project "Terrain Align.zip"
2. From the Project tab, open Assets/Bug/BugScene.unity
3. Make sure that Scene View is visible
4. In the Hierarchy tab, click on "Bug" Game Object
5. In the Inspector tab, try changing any of the values of the Transform component
6. In the Inspector tab, check the box next to "Bug Enabled" under "Gizmo Bug (Script)"
7. Try changing any of the Transform values again
Expected results: it is possible to change any chosen value
Actual results: it is impossible to change any of the values or even place the caret within the input fields
Reproducible with: 2019.4.30f1, 2020.3.18f1, 2021.1.20f1, 2021.2.0b11, 2022.1.0a7
Notes:
- The issue is not reproducible if Scene View is not visible
- Since Focus is true by default, the Scene View permanently gets the focus and is taken away from any control. As a workaround, Focus could be set to false
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Editor Windows can also be queried like game objects. You can use https://docs.unity3d.com/ScriptReference/Resources.FindObjectsOfTypeAll.html to find EditorWindows (if you know their type) without bringing them in focus.