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
- Emojis with different skin tone options show incorrectly when "Multi Atlas Textures" is enabled in the Font Asset Properties
- Eyedropper Tool Shows Black Square UI Artifact on Cursor (Ubuntu)
- Some Emoji and Ligature sequences containing Variant Selectors are misinterpreted
- Errors “Render Graph Execution error” and "KeyNotFoundException" are thrown and Scene/Game views are not rendered when RenderGraphBuilder has AsyncCompute enabled
- Separation Line is used at the bottom of Prefab dropdown options when there is nothing to separate
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.