Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.37f1
6000.0.10f1
Issue ID
UUM-75239
Regression
No
Interface property is not shown in the Inspector when the null value is chosen while using the CustomPropertyDrawer attribute with the generic Object class
_Note: See pinned comment for a possible solution._
How to reproduce:
1. Open the “ReportPropertyDrawer“ project
2. Open the “SampleScene“
3. Open the “Assets > ScriptableObjects > SerializeReferenceOnly.asset“ in the Inspector
4. Toggle on and off the “Ensure Animal is Not Null“ property
5. Select the “null“ value in the “Animal“ drop-down list
6. Observe the “Animal“ property
Expected result: The “Animal“ property gets set to the “null“ value
Actual result: The “Animal“ properties drop-down disappears
Reproducible with: 2022.3.37f1, 6000.0.10f1
Could not test with: 2021.3.40f1 (List is replaced with “No GUI Implemented” message)
Reproducible on: macOS 14.5 (Intel), Windows 11 (User’s)
Not reproducible on: No other environments tested
Notes:
- The issue only appears while working with the “null“ value with the Interface type field with generic base class and “SerializeReference“ instead of a custom “PropertyAttribute”
- Works correctly with the abstract classes
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
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
- Material Component has two horizontal lines under it when its foldouts are closed
- Some selected Mesh Renderer Materials lead to Assets folder when pinged
- Editor colors appear darkened out when HDR Display Output is enabled
Resolution Note:
Thank you for bringing this issue to our attention. Unfortunately, after careful consideration, we will not be addressing your issue now, as we are committed to resolving other higher-priority issues. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However, we know each case is different, so please continue to log any issues you find and provide any general feedback on our roadmap page to help us prioritize.
Roadmap https://unity.com/roadmap/unity-platform/