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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (2019.3.X):
Low priority defect. Unlikely to be fixed for the moment.