Unity在iPhoneX(iOS11)上报错validateRenderPassDescriptor:551

”’
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
    Unity在iPhoneX(iOS11)上报错validateRenderPassDescriptor:551

  2. Unity Other Setting -> Auto Graphics API 取消勾 -> OpenGLES2
    Unity在iPhoneX(iOS11)上报错validateRenderPassDescriptor:551