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
- Crash on __pthread_kill when entering Play mode
- Crash on tlsf_free when exiting Play Mode in a specific project
- Camera Solid Color is overwritten when injecting Custom Render Pass at 'RenderPassEvent.AfterRenderingPrePasses + 1'
- Shadows are not rendering when using the "On Demand" shadow update mode with GPU Resident Drawer and additional camera render texture
- "AVFoundationVideoMedia error while reading” error is thrown when streaming from a URL with a signed token in VideoPlayer
Add comment