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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
Add comment