Search Issue Tracker
Third Party Issue
Third Party Issue in 6000.0.X
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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
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.
Resolution Note (6000.0.X):
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.