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

iOS

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.