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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (2020.1.X):
Low priority defect and unlikely to be fixed for the near future.