Unity Issue Tracker - Crash on g_type_check_instance_cast when creating a project
Fixed
UUM-96484
Crash on g_type_check_instance_cast when creating a project
Unity: Native Editor Window Foundation
Linux
Fixed
2022.3.X
2022.3.57f1 onwards
I was unable to repro the crash locally, but I've verified the code changes have landed to 2022.3.59f1. If this issue can still be observed in this version, please reopen this case. Thank you.
Reproduction steps:
1. Create a new project
Expected result: The project is created and opened
Actual result: Unity Editor crashes
Reproducible with: 2022.3.57f1
Not reproducible with: 2021.3.45f1, 2022.3.56f1, 6000.0.33f1
Reproducible on: Ubuntu 24.04
Not reproducible on: Windows 10
First lines of the stack trace:
#1 0x0079d54ebad1e0 in g_type_check_instance_cast
#2 0x005ac5ff80bd14 in DestroyGtkWindow(void*)
#3 0x005ac5ff7cf640 in SetSplashScreenWindow(void*)
#4 0x005ac5ff7f79b1 in InitializeUnity(void*)
#5 0x0079d54d9454a2 in g_main_context_check