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

Scripting

-

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

  1. Resolution Note (2020.1.X):

    Low priority defect and unlikely to be fixed for the near future.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.