Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2019.4.16f1
2020.1
2020.2
2021.1
2021.2
Issue ID
1301338
Regression
No
Error appears in the Console when using a field named 'm_Enabled' in a class that inherits from the ScriptableObject class
How to reproduce:
1. Open the user's attached project
2. In the Project window select 'New My Scriptable Object'
3. Observe the Console
Expected result: No visible errors present
Actual result: 'The same field name is serialized multiple times in the class or its parent class.' error appears in the Console
Reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.1.17f1, 2020.2.2f1, 2021.1.0b2, 2021.2.0a1
Notes:
- Full error message: 'The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(MonoBehaviour) m_Enabled'
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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Resolution Note:
ScriptableObjects are MonoBehaviours under the hood and the m_Enabled field is inherited from there