Search Issue Tracker
Fixed
Fixed in 2022.3.X, 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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment