Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.1.0a1
2019.1.8f1
2019.2.0a1
2019.3.0a1
Issue ID
1172691
Regression
No
Player crashes on 'scripting_object_get_class' if there are variables inside a #if UNITY_EDITOR block in a base class of a field
How to reproduce:
1. Open the attached "PlayerSerializationCrashStripped.zip" project
2. Open Build Settings and make sure that the 'SampleScene' scene is included in the build
3. Build and Run
Results: The player crashes before the splash screen
Reproducible with: 2017.4.31f1, 2018.4.5f1, 2019.1.14f1, 2019.2.1f1, 2019.3.0a11
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
- Video does not play in macOS build when built app is placed in a path with a space in it on a specific project
 - Crash on AuxWindowManager::OnGotFocus when trying to maximize a tab while Visual Effect Graph window is open
 - “NullReferenceException: Object reference not set to an instance of an object” error is thrown when
 - [Metal] Game freezes after command buffer Timeout error
 - Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
 
Resolution Note (fix version 2020.1):
Fixed with 2020.1.0a3, backported to 2019.3.9f1