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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2020.1):
Fixed with 2020.1.0a3, backported to 2019.3.9f1