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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Add comment