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
- Nothing happens when Generate Material Property checkbox is clicked in the Shader Graph
- Handles in the Curve Editor are not visible when using Light Theme
- Terrain Brush 'Mask Texture' field Object Picker window doesn't have package assets hidden by default
- Memory usage increases with each selected object in the Object Picker window
- Blurred Text Shadows wrap around each letter when using offset and blur
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.