Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2019.3.0a7
2020.3
2021.1
2021.1.7f1
2021.2
Issue ID
1336406
Regression
Yes
delayCall delegate's Invocation List size doubles when the Package Manager is docked and the delayCall is Invoked
Reproduction steps:
1. Open the attached project ("case_1336406.zip")
2. Open the "SampleScene": Assets > "SampleScene"
3. Open and dock the Package Manager window beside the Console window
4. Hide the Package Manager window by selecting the Console window
5. Select the "DelayCallTest" GameObject in the Hierarchy window
6. Repeatedly click the "Execute" button, in the Inspector window
Expected result: Total methods count, assigned to the "EditorApplication.delayCall" delegate, doesn't change, when the "delayCall" delegate is invoked
Actual result: Total methods count, assigned to the "EditorApplication.delayCall" delegate, doubles, once the "delayCall" delegate is invoked.
Reproducible with: 2019.3.0a7, 2019.4.28f1, 2020.3.11f1, 2021.1.10f1, 2021.2.0a19
Not reproducible with: 2018.4.35f1, 2019.3.0a6
Note:
- Method ("ScrollIfneeded") is being repeatedly added to the "EditorApplication.delayCall" delegate when the "delayCall" delegate is Invoked.
- The issue isn't reproducible when the Package Manager isn't docked.
- The issue seems to be caused only by the Package Manager window. Preferences, Project settings windows, etc. had no side effects.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a15
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.4f1