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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
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.