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
- URP Samples have an empty "VolumeProfiles" folder
- URP Samples have a broken "FirstPersonsPlayer" Prefab
- Remote Config file throws ArgumentNullReference exceptions in the Console and does not render in Inspector
- Multiple errors are thrown and file does not parse when saving after removing a duplicate UI Document instance from the hierarchy
- Custom Inspector throws a NullReferenceException error even when using #if UNITY_EDITOR preprocessor directive
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.