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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2019.3.X):
Low priority defect. Unlikely to be fixed for the moment.