unity版本:5.4.5p5
Xcode版本:Xcode9
iOS版本:ios11
unity打包xcode,进行调试状态下报错:
validateRenderPassDescriptor:551: failed assertion `Texture at depthAttachment has usage (0x01) which doesn't specify MTLTextureUsageRenderTarget (0x04)'
线程中断,二进制的中断位置报错:UnityGfxDeviceWorker (14): signal SIGABRT。
这边在网上找到一个解决办法:
1 关掉xcode 里面的Metal API Validation
2 unity设置里用OpenGLES 代替 Metal.