Search Issue Tracker
Fixed
Fixed in 2022.3.12f1
Votes
0
Found in
2022.3.6f1
Issue ID
UUM-46680
Regression
No
Crash on -[IOGPUMetalDeviceShmem initWithDevice:shmemSize:shmemType:].cold.6 when running Play Mode tests in batch mode on Silicon macOS
Reproduction steps:
1. Open the macOS Terminal
2. Run the “PROJECTFILE” Play Mode tests with command line: /Applications/Unity/Hub/Editor/2022.3.6f1/Unity.app/Contents/MacOS/Unity -projectPath /PROJECTPATH -batchmode -runTests -testPlatform playmode -testResults PROJECTPATH/test_results/integration_test_results.xml -logFile PROJECTPATH/test_results/integration_tests.log
3. Wait for the tests to finish
4. Open the “PROJECTPATH/test_results” folder
Expected result: Tests run successfully (“integration_test_results.xml” file is created and no stack frames in the “integration_tests.log” file)
Actual result: “integration_test_results.xml” file is not created and stack frames can be seen in the “integration_tests.log” file
Reproducible with: 2022.3.6f1
Couldn't test with: 2021.3.29f1, 2023.1.7f1, 2023.2.0b3 (compiler errors and console errors when project is opened)
Reproducible on: macOS Ventura 13.4.1 (M1 Max)
Not reproducible on: macOS Ventura 13.4.1 (c) (Intel)
Note: No reproduction if running the Play Mode tests without “-batchmode” in the command line described in step 2.
First few lines of stack frames:
{{#0 0x0000019783c724 in __pthread_kill }}
{{#1 0x516c800197781ae8 in abort }}
{{#2 0x1470000197780e44 in err }}
{{#3 0x632e8001b45d13f0 in -[IOGPUMetalDeviceShmem initWithDevice:shmemSize:shmemType:].cold.6 }}
{{#4 0xb0580001b45bebd8 in -[IOGPUMetalDeviceShmem dealloc] }}
{{#5 0x853b8001b45bf0a4 in IOGPUMetalDeviceShmemPoolCreateShmem }}
{{#6 0x1c428001b45b884c in IOGPUMetalCommandBufferStorageGrowKernelCommandBuffer}}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
Add comment