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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Add comment