Reproduction steps:
1. Open the attached project “project.zip”
2. Enter the Play Mode
Reproducible with: 2020.3.46f1, 2021.3.22f1, 2022.1.24f1, 2022.2.13f1, 2023.2.0a8
Reproducible on: macOS 13.2.1 (Intel)
First few lines of the stacktrace:
{{(mono-2.0-bdwgc) [boehm-gc.c:1315] mono_gc_wbarrier_range_copy }}
{{(Mono JIT Code) [BuildingConstructionMenu.cs:51] BuildingConstructionMenu:initiate () }}
{{(Mono JIT Code) [BuildingConstructionMenu.cs:38] BuildingConstructionMenu:OnEnable () }}
{{(Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void_this_ (object,intptr,intptr,intptr) }}
(mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke