How to reproduce:
1. Open the attached Project
2. Enable "Graphics Jobs (Experimental)" under Project Settings -> Player -> iOS
3. In the Project window, select Assets->_Tech->Build->iOS
4. In the Inspector window, click the "Build" button
5. Launch the built Xcode project on an iOS device
6. Play through the game for 10-15min
7. If a crash does not occur, repeat from step 4
Reproducible with: 2021.3.15f1
Could not test with: 2020.3.44f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a25 (project requires extensive modification to certain scripts in order to be usable after changing versions)
Reproduced with:
- iPhone 13 (iOS 15.0)
- iPhone 12 mini (iOS 14.1)
Notes:
- The crash may occur as soon as in the character creation screen, however, it may also occur later
Full stack trace of the crash:
- thread #38, name = 'Metal Submission Thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xbdaec33c3d77c69d)
- frame #0: 0x000000011332eaa0 UnityFramework`::ScheduleDependencies() at JobQueue.cpp:360:11 [opt]
frame #1: 0x000000011333026c UnityFramework`::ScheduleJobMultipleDependencies() at JobQueue.cpp:1593:13 [opt]
frame #2: 0x000000011332bce4 UnityFramework`::SyncFencesNoWorkSteal() at Jobs.cpp:67:40 [opt]
frame #3: 0x0000000113aca180 UnityFramework`DoExecuteSyncFenceForDevices at GfxTaskExecutorMetal.mm:386:9 [opt]
frame #4: 0x0000000113ac9d24 UnityFramework`HandleTaskStream at GfxTaskExecutorMetal.mm:157:17 [opt]
frame #5: 0x0000000113aca1a8 UnityFramework`ThreadEntry at GfxTaskExecutorMetal.mm:174:15 [opt]
frame #6: 0x00000001133e9d78 UnityFramework`::RunThreadWrapper() at Thread.cpp:82:14 [opt]
frame #7: 0x00000001f0c35a60 libsystem_pthread.dylib`_pthread_start + 148