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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
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.