Unity在iPhoneX(iOS11)上報錯validateRenderPassDescriptor:551

大招至勝發表於2018-01-19

”’
validateRenderPassDescriptor:551: failed assertion `Texture at depthAttachment has usage (0x01) which doesn’t specify MTLTextureUsageRenderTarget (0x04)’
”’
兩種辦法解決

  1. Product -> Scheme -> Edit Scheme -> Run -> Options -> GPU Frame Capture -> OpenGL ES
    這裡寫圖片描述

  2. Unity Other Setting -> Auto Graphics API 取消勾 -> OpenGLES2
    這裡寫圖片描述

相關文章