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
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “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
- WebGL sends wrong value with large numbers when SendMessage function is used
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
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.