Search Issue Tracker
Active
Won't Fix in 2023.2.X
Under Consideration for 2021.3.X, 2022.3.X
Votes
0
Found in
2021.3.36f1
2022.3.21f1
2023.2.15f1
6000.0.0b11
Issue ID
UUM-67709
Regression
No
Editor.OnEnable is called twice when its InspectorElement is placed inside another InspectorElement
Reproduction steps:
1. Open the attached “InspectorElement.zip” project
2. Open the Test Window (Sheriff->TEST Window)
3. Make sure the Scene Window is active
4. In the Test Window click the button labeled "Click"
5. Observe the Console
6. Now make sure the Inspector Window is active instead of the Scene Window
7. In the Test Window click the button labeled "Cleanup" and repeat 4th step
8. Observe the Console
Expected result: On both occasions, the "ChildScriptableEditor.OnEnable" only appears once
Actual result: When the Inspector Window is not active the “ChildScriptableEditor.OnEnable" appears twice
Reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.2.15f1, 6000.0.0b11
Reproducible on: Windows 11
Not reproducible on: no other environment tested
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
- SerializeReference interface does not show CustomPropertyDrawer when it's inherited from another interface
- Rendering artifacts appear in the Editor when modifying the Reflection Probe box size
- [HDRP] XR Multipass calls BeginCameraRendering and EndCameraRendering for each pass of the same camera
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
Resolution Note (2023.2.X):
Closing as Won't fix due to 2023.2 reaching it's EOL.