Search Issue Tracker
Fixed in 5.4.2
Votes
0
Found in
5.4.0p4
Issue ID
827431
Regression
Yes
[Metal] Changing resolution at runtime results in a crash on iOS and tvOS devices with Metal graphics API
Steps to reproduce:
1. Open attached project
2. Build 'Test' scene for iOS
3. Build Xcode project to iOS device (reproduced on iPhone 5s and iPhone 6)
4. Notice the game crashes on startup and gives the following error in the Xcode log:
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-56.7/Framework/MTLRenderPipeline.mm:1061: failed assertion `No valid pixelFormats set.'
Only reproduces with Metal graphics API, OpenGLES2 works as fine.
Not reproducible with: 5.3.6p1, 5.5.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
Add comment