Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.0f3
Issue ID
961878
Regression
No
EditorGUILayout.ObjectField shows that it requires object of base type instead of the derived type that is specified in script
To reproduce:
1. Open the project, attached by the user (ObjectFieldTest.zip)
2. Open the "f" scene
3. Select "GameObject" object in the Hierarchy
4. Observe the Inspector (notice that first 2 field show that they require object of BaseClass)
5. Observe the code in HoldingMonoEditor script
Expected: the Inspector shows the type that was passed to ObjectField instead of the base type
Reproduced in 5.5.5p1, 5.6.4p1, 2017.1.0f3, 2017.1.2p2, 2017.2.0f3, 2017.3.0b6, 2018.1.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
Add comment