Unity 4.7 導出工程在XCode9/10上報錯 validateRenderPassDescriptor:644: failed assertion `XXXX'

Unity 4.7 導出工程在XCode9/10上報錯 validateRenderPassDescriptor:644: failed assertion `Texture at colorAttachment[0] has usage (0x01) which doesn't specify MTLTextureUsageRenderTarget (0x04)'
報錯發生時線程棧幀以下,發生在與Metal GPU圖形渲染相關部分。
image.net

兩種辦法解決
1) Product -> Scheme -> Edit Scheme -> Run -> Options -> GPU Frame Capture -> OpenGL ES
image線程


2) Unity Other Setting -> Auto Graphics API 取消勾 –> OpenGLES2
imageblog

Ref: https://blog.csdn.net/devday/article/details/79108873ip

相關文章
相關標籤/搜索