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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (2019.3.X):
Low priority defect. Unlikely to be fixed for the moment.