Search Issue Tracker
By Design
Votes
0
Found in
5.5.0f3
Issue ID
861133
Regression
No
Private variables get serialized when ExecuteInEditMode is set
Steps to reproduce:
1. Open the "test" scene in project
2. Notice the printed logs in console ("testBool is false" and "testInt is 0")
3. Write a comment in SerializationTest.cs script (to force it to recompile)
4. Check the console window again
Expected: debug log prints out the same values ("testBool is false" and "testInt is 0") once again since the script has been recompiled
Actual: debug log prints out "testBool is true" and "testInt is 1"
Reproduced on: 5.4.4f1, 5.5.0p3, 5.6.0b2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Hovering on the Particle System Controls shows an offset tooltip with the overlay window name
- Inconsistent UI hover colour with poor contrast in VFX Graph window
- Lights with Cookies generate Cookie Atlas and increase Memory usage every time when Play mode is entered
- Crash on mono_traverse_object_internal when exiting Play mode on a specific project
- Camera prefab shows up in overrides after upgrade when game view is changed to Simulator
Add comment