Reproduction steps:
1. Open the attached project “ReproCrash”
2. File > Build Settings > Build
Expected result: Player is built
Actual result: Editor crashes
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a14
Reproducible on: macOS 13.6 (M1 Max), macOS 14.0 (Intel)
Not reproducible on: Windows 10
First few lines of stack trace:
#0 0x0000018708c744 in __pthread_kill
#1 0x541a800186fd1ae8 in abort
#2 0x46000029d6a01f4 in monoeg_g_printv
#3 0x0000029d68560c in mono_log_write_logfile
#4 0x0000029d6a040c in monoeg_g_logv_nofree
#5 0x0000029d6a04c8 in monoeg_assertion_message
#6 0x0000029d6a0528 in monoeg_log_default_handler
#7 0x0000029d5f3fa8 in mono_marshal_get_native_wrapper