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
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
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.