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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Resolution Note (2020.1.X):
Low priority defect and unlikely to be fixed for the near future.