Unity Issue Tracker - IKEditorManager.Initialize is called when the EditorApplication.hierarchyChanged event is invoked
Fixed
DANB-344
IKEditorManager.Initialize is called when the EditorApplication.hierarchyChanged event is invoked
Package: 2D Animation
Fixed
9.0.X
7.0.X
10.0.X
Won't Fix
8.0.X
Fixed in 2D Animation 9.0.2
This is fixed in Animation 9.0.2, please use 2022.2 instead
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