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
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment