Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.4
2018.4
2019.2
2019.2.10f1
2019.3
2020.1
Issue ID
1201662
Regression
No
Assigning fields of a List/Array to another List/Array will make that field un-editable in the Inspector while in PlayMode
How to reproduce:
1. Download the 'What.cs' script
2. Attach the script to any object
3. Enter PlayMode
4. Modifying the amount value in 'resourceListOrig' or 'resourceListClone' doesn't save the value. Modifying it in 'resourceListCloneClone' saves the value.
4.1. Modifying the amount in 'resourceListOrig' for the second element (which was not assigned to anything else) saves the value.
This behaviour is both for lists and arrays.
Bonus: While in PlayMode, trigger a domain reload (e.g. uncomment `public int something` (make sure in Preferences -> Script Changes While Playing is set to 'Recompile and continue playing')). After that, it is possible to modify the values.
Expected result: "Amount" is changed to the specified value
Actual result: "Amount" can't be changed
Reproducible with: 2017.4.35f1, 2018.4.13f1, 2019.2.15f1, 2019.3.0f1, 2020.1.0a15
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
- Texture is lost when reconnecting SpriteColor Node in Fragment
- InvalidOperationException is thrown and list elements can't be added when a UxmlObject in a list has no attributes
- Warnings are thrown when entering play mode with standalone profiler open
- "Ctrl+C" and "Ctrl+V" keyboard inputs are not registered in Player when the build platform is WebGL
- The baked lightmap does not show up in the Player when the lightmap is placed in a Prefab which is loaded dynamically
Resolution Note (2020.1.X):
Low priority defect and unlikely to be fixed for the near future.