Search Issue Tracker
By Design
Votes
0
Found in
2017.4
2019.3.3f1
2020.2
Issue ID
1227932
Regression
No
String array element labels are replaced with the values of string attributes of a class
How to reproduce:
1. Open the "ActionScene" Scene in the attached "1227932.zip" Unity project
2. Select the "Stage" GameObject and navigate to the Inspector
3. In the New Behaviour Script Component, enter the Layers array size (any small integer)
4. In the enter any string value to the "El" property in Element 0 and observe the "Element 0" label
Expected result: the element's name remains "Element 0"
Actual result: the label gets changed to the same value as the string value of the first element of the array
Reproducible with: 2017.4.38f1, 2020.2.0a4
Notes:
1. Could not reproduce with integers or chars.
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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note (2020.2.X):
This is due to the current design where foldout text and the text field text both remain the same due to the way the serialization data is stored currently.