Search Issue Tracker
Fixed in 5.2.7
Fixed in 9.0.2
Votes
1
Found in [Package]
7.0.9
8.0.5
9.0.1
10.0.0-pre.2
Issue ID
DANB-344
Regression
No
IKEditorManager.Initialize is called when the EditorApplication.hierarchyChanged event is invoked
Reproduction steps:
1. Open the attached project “IKEditorRepro”
2. Open the “Assets/SampleScene” scene
3. Open Window → Analysis → Profiler window
4. Change Profiler mode to “Edit Mode”
5. Enter Play mode
6. Press the “Space” button multiple times
7. Stop recording in the Profiler window
8. In the Profiler search type “IK”
9. Look for “UnityEditor.U2D.IK.IKEditorManager.Initialize” call
Expected result: “UnityEditor.U2D.IK.IKEditorManager.Initialize” is only called once
Actual result: “UnityEditor.U2D.IK.IKEditorManager.Initialize” is called every time the “Space” button is pressed
Reproducible with: 7.0.9 (2021.3.16f1), 8.0.5 (2022.1.24f1), 9.0.1 (2022.2.3f1), 10.0.0-pre.2 (2023.1.0a26)
Not reproducible with: 5.2.6 (2020.3.44f1)
Reproducible on: macOS 13.1 (Intel)
Comments (1)
-
xuwilliam01
Jan 20, 2023 04:04
Issue related to animations causing editor lag observed in 2020.3.44f1 (Based on EDITORAPPLICATION.HIERARCHYCHANGED)
I've updated my forum post and tagged the dev @Ted_Wikman that originally responded.
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Fixed in 2D Animation 9.0.2