iOS12 is causing an error on Metal Command Buffer execution, render is glitchy or doesn't occur

前端 未结 4 638
甜味超标
甜味超标 2021-02-08 01:09

We have an app that uses Metal to render. This app works correctly on devices running iOS11. When using the same app on devices running iOS12, we started getting gl

相关标签:
4条回答
  • 2021-02-08 01:26

    I was able to solve my issues for the moment by choosing OpenGL ES as render mode:

    0 讨论(0)
  • 2021-02-08 01:27

    I seem to be having the exact same problem. Also using ARKit and the default sceneKit Editor, I kept getting the IOAF code 4 error infinitely when the screen freezes up.

    I fixed my problem by changing the environment from "Procedural Sky" to "None". Doesn't lag or freeze anymore, but this is hardly the solution as my AR object now has no lighting or environment. I believe there is a fix coming in iOS 12.2 Beta, but have yet to update.

    Hope my solution helps others.

    0 讨论(0)
  • 2021-02-08 01:32

    I just received an update to the bug I had filed with Apple:

    Apple Developer Relations

    We believe this issue is resolved in the latest iOS 12.2 beta. Please test with the latest iOS beta. If you still have issues, please update your bug report with any relevant logs or information that could help us investigate. iOS beta https://developer.apple.com/download/"

    0 讨论(0)
  • 2021-02-08 01:39

    It's a bug, caused by high resolution environment lightning images.

    The solution is to resize these images, 1000x500 is what we are using now. Works perfectly.

    0 讨论(0)
提交回复
热议问题