Search Issue Tracker
Fixed
Votes
1
Found in
5.1.0f3
Issue ID
705074
Regression
No
[PropertyDrawer.OnGUI] In OnGUI SerializedProperty.type returns Generic Mono if serialized object is in an array
Reproduction steps:
1. Open attached project "PropertyDrawerType"
2. Open scene "Test"
3. Select GameObject "Demo"
4. In the Inspector unfold "Test Array"
5. In PropertyDrawer.OnGUI SerializedProperty.type is logged for each SerializableTest object (logged to the console)
6. Notice that if SerializableTest is in an array its type will be reported as Generic Mono instead of SerializableTest
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] Unable to install VisionOS Module using HUB 3.8.0-beta.2
- NullReferenceException is thrown when pressing the "Enter" key to select an item in a ListView
- Burst internal compiler errors are thrown when creating a new 2D project
- Tile Paint action disappears from Undo History when Tile Selection tool has been used beforehand
- The pregenerated LightDefinition.cs.hlsl does not match the source LightDefinition.cs when regenerating shader includes
Add comment