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
- The Particle System Trail module creates Trails with a lighter coloring than the particles when the Color Space is set to Linear
- Crash on "DynamicBranchState::PrepareState" when entering the Play Mode with a shader variant collection that has a shader with a "dynamic_branch" keyword
- Crash on "in __pthread_kill" when running the built application that has UNITY_EDITOR scripting symbol in conditional compilation
- Fix for 2022.3.X: Flickering of HDRP Directional Light shadows with DirectionalMixedCachedShadows when in an Entities Graphics rendered Subscene
- "Objects are trying to be loaded during a domain backup." errors on entering Playmode
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.