Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a6
2018.3.4f1
2019.1.0a1
2019.2.0a1
Issue ID
1125525
Regression
Yes
Undo Keyboard shortcut does not work if focused on the Scene View after editing Grid Mesh's position via script
How to reproduce:
1. Open the "SampleScene" in the attached "TestShortcutBug.zip" project
2. Double Click on "GridMesh" GameObject to focus on it
3. Move the GridMesh in the Y direction using the Gizmo in the Scene View
4. Make sure you are focusing the Scene View
5. Use CTRL+Z(CMD+Z on the Mac) to Undo the movement
Expected result: The Undo is successful
Actual result: The Undo Shortcut does not work when focused on the Scene View
Reproducible with: 2018.3.0a6, 2018.3.5f1, 2019.1.0b3, 2019.2.0a5
Not reproducible with: 2017.4.20f1, 2018.3.0a5
Note: The Undo works if you focus on the Editor first before using the Shortcut. You can Do the same with the "Cube(1)" GameObject in the Scene and it will work as expected.
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2019.2.X):
Since 2018.3 key events are first forwarded to the active EditorWindow, and if not used are then forwarded to the shortcut manager.
The issue was on the user script, where it was using all keydown events, instead of only the ones that its actually processing.