Search Issue Tracker
Fix In Review
Fix In Review for 6000.5.0a6
Unknown (hidden) 6000.5.X
Fixed in 2022.3.72f1, 6000.0.67f1, 6000.3.6f1, 6000.4.0b6
Votes
0
Found in
6000.0.65f1
6000.3.4f1
6000.4.0b4
6000.5.0a4
Issue ID
UUM-132087
Regression
Yes
PropertyDrawer gets disposed while still being active when adding a secondary component
How to reproduce:
1. Extract and open the attached “IN-128692.zip“ project
2. Open the Assets/Scenes/SampleScene.unity scene
3. Select the ‘Test Object’ GameObject in the Hierarchy
4. In the Inspector tab, click on ‘Add Component’
5. Add the ‘Other Test Object’ Script
6. Observe the console
Actual result: The ‘TestAttributeDrawer’ gets disposed right after being created, and the ‘Test Object (Script)’ PropertyDrawer shows “DISPOSED!“
Expected result: The ‘TestAttributeDrawer’ does not get disposed, and the ‘Test Object (Script)’ PropertyDrawer shows “This is a custom drawer for TestAttribute“
Reproducible with: 2023.3.0a10, 6000.0.65f1, 6000.3.4f1, 6000.4.0b4, 6000.5.0a4
Not reproducible with: 2023.3.0a9
Reproducible on: Ubuntu 22.04, macOS 26.2 (M1 Silicon)
Could not reproduce on: No other environment tested
Note: If you follow the steps and then remove the ‘Other Test Object (Script)' component, the Editor disposes of the property drawer and then creates a new one. Then, when the ‘Test Object’ GameObject is unselected, the Editor does not call the dispose method on the newly created property drawer.
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note:
Fixed in 6000.4.0b6
Resolution Note (fix version 6000.5.0a6):
Fixed in 6000.4.0b6
Resolution Note (fix version 6000.3.6f1):
Fixed in 6000.3.6f1
Resolution Note (fix version 6000.0.67f1):
Fixed in 6000.0.67f1
Resolution Note (fix version 2022.3.72f1):
Fixed in 2022.3.72f1