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

Serialization

-

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

  1. 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/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.