Search Issue Tracker
Fixed
Fixed in 2022.3.69f1, 6000.0.62f1, 6000.2.11f1, 6000.3.0b10, 6000.4.0a5
Votes
4
Found in
2022.3.67f1
6000.0.56f1
6000.1.8f1
6000.2.0a4
6000.3.0a2
6000.4.0a2
6000.5.0a1
Issue ID
UUM-123207
Regression
Yes
[Metal] Game freezes after command buffer Timeout error - Disable CAMetalDisplayLink by default
Description
CAMetalDisplayLink is causing kIOGPUCommandBufferCallbackErrorTimeout errors. Disabling the CAMetalDisplayLink and using CADisplayLink instead does not cause games to freeze.
IMPORTANT: This issue tracks which fixed versions CAMetalDisplayLink is disabled by default. Check https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-125778 for the actual fix.
IMPORTANT: For previous affected Unity versions you can disable the CAMetalDisplayLink. See https://discussions.unity.com/t/freeze-on-ios-with-metal-display-link/1693201
Reproduction steps
1. Open a project and build for iOS.
2. Play the game, possibly for more than 30 minutes until the image freezes. A Timeout error is shown in XCode.
Expected behaviour
The game does not freeze.
Actual behavior
The game freezes.
Comments (1)
-
dnecesal
Nov 19, 2025 09:28
Adding to this:
When using OnDemandRendering the app will hard freeze on several iOS versions when the CAMetalDisplayLink is enabled.
I have had to disable it using post process build to ensure OnDemandRendering can be used in our app.
The main thread freeze happens right after OnDemandRendering.renderFrameInterval is modified.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Resolution Note (fix version 2022.3.69f1):
The CAMetalDisplayLink is disabled until we find a fix for the underlying issue.