Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4.1f1

Issue ID

1080260

Regression

No

Public array changes from NULL to empty when a value from the same script is modified in the Inspector

Scripting

-

To reproduce:
1. Open the user's attached project
2. Open and play the scene "main2"
3. Select Main Camera and toggle the "Dummy Value" in the inspector

Expected result: The dummy value does not change the array in any way
Actual result: When the dummy value is toggled, the array becomes empty

Reproduced with: 2017.4.11f1, 2018.1.9f1, 2018.2.7f1, 2018.3.0b1

Notes:
- This happens only when the array's script is loaded after the Play mode starts. The scene "main" shows a correct behavior;
- When the Inspector is set to Debug mode, the "Dummy Value" changes both the private array and the public array to empty.

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.