Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1159768
Regression
No
Value of a variable in the scene is reset to the original prefab value on entering Play mode when it was set using CustomEditor
How to reproduce:
1. Open attached project "Case_1159768_repro.zip"
2. Select "OBJE" GameObject in the Hierarchy
3. Click "SetA" button in Platforms script in the Inspector
4. Enter Play Mode
Expected result: Variable "A" value is 10
Actual result: Variable "A" value resets to the value of the prefab - 0
Reproducible with - 2017.4.28f1, 2018.4.1f1, 2019.1.5f1, 2019.2.0b5, 2019.3.0a4
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note (2019.3.X):
Low priority defect. Unlikely to be fixed for the moment.