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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Resolution Note (2020.1.X):
Low priority defect and unlikely to be fixed for the near future.