Unity 4.7 導出工程在XCode9/10上報錯 validateRenderPassDescriptor:644: failed assertion `Texture at colorAttachment[0] has usage (0x01) which doesn't specify M... ...
Unity 4.7 導出工程在XCode9/10上報錯 validateRenderPassDescriptor:644: failed assertion `Texture at colorAttachment[0] has usage (0x01) which doesn't specify MTLTextureUsageRenderTarget (0x04)'
報錯發生時線程棧幀如下,發生在與Metal GPU圖形渲染相關部分。
兩種辦法解決
1) Product -> Scheme -> Edit Scheme -> Run -> Options -> GPU Frame Capture -> OpenGL ES
2) Unity Other Setting -> Auto Graphics API 取消勾 –> OpenGLES2
Ref: https://blog.csdn.net/devday/article/details/79108873