Search Issue Tracker
Third Party Issue
Votes
0
Found in
2022.3.23f1
2023.2.17f1
6000.0.0b13
Issue ID
UUM-69184
Regression
Yes
"EditorApplication.delayCall = () => { todo };" overwrites the content of EditorApplication.delayCall and prevents from moving around the Scene view using the mouse buttons
Reproduction steps:
1. Open “IN-69651_Stripped_repro.zip“ project
2. Open the “Scene1”
3. In the Scene view try to move around, select GameObjects, etc.
4. Observe the Scene view
Expected result: Moving around in the Scene view works, able to select GameObjects
Actual result: Only able to move around with arrow keys and mouse wheel zoom, unable to select any GameObjects in the scene (only able in the Hierarchy window)
Reproducible with: 2022.3.14f1, 2022.3.23f1, 2023.2.17f1, 6000.0.0b14
Not reproducible with: 2021.3.36f1, 2022.3.13f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- Workaround: In the ReorderableArrayInspector.cs script located in: Assets > ReorderableInspector > Editor, change line 65 from a) to b):
a) {{EditorApplication.delayCall = () => { EditorApplication.delayCall = () => { FORCE_INIT = false; }; };}}
b) {{EditorApplication.delayCall += () => { EditorApplication.delayCall = () => { FORCE_INIT = false; }; };}}
- Only the mouse scroll wheel zoom and arrow keys work
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
- Cache invalidation during Build time when the Graphics APIs list is reordered
- Incorrect selection range is reported when selecting text across lines in a multiline TextField
- Tile Palette: Blurry selection icon and inconsistent padding in brush selection dropdown
- Player crash when a specific project is built with Vulkan
- Long Tile Palette name breaks window UI
Resolution Note:
EditorApplication.delayCall is a delegate, implying that to append to it, the user must use the syntax EditorApplication.delayCall += () => { };. However, using EditorApplication.delayCall = () => { }; overrides the content of EditorApplication.delayCall with another method. This action results in the removal of functionalities related to Scene view navigation and selection, as they add their methods to EditorApplication.delayCall. Therefore, overriding the delegate eliminates these functionalities from the Scene view.