Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
1
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
2019.2.0b4
2019.3.0a1
Issue ID
1158879
Regression
No
Serialized Property has an incorrect name in the Inspector Window
How to reproduce:
1. Open user-supplied project
2. Open "SampleScene" Scene
3. Select "GameObject" GameObject
4. In Project Window open "NewBehaviourScript" script
5. Compare "New Behaviour Script" editable field name in Inspector and name declared in "NewBehaviourScript" Script
Expected result: Name in the Script and Inspector Window is the same
Actual result: Name declared in Script is "bug" and name in Inspector is "<Bug>k__Backing Field"
Reproducible with: 2017.4.27f1, 2018.4.1f1, 2019.1.5f1, 2019.2.0b5, 2019.3.0a4
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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Resolution Note:
The Unity serialization system does not support "[field:SerializeField]". It is on our backlog to add this as a new feature.
There is a forum thread about this: https://forum.unity.com/threads/c-7-3-field-serializefield-support.573988/