关于Unity3d 5.3.5f1 在Xcode Version 11.2.1 (11B500)新版本崩溃问题

错误日志为:

validateRenderPassDescriptor:757: failed assertion `Texture at colorAttachment[0] has usage (0x01) which doesn't specify MTLTextureUsageRenderTarget (0x04)'

引起崩溃的Unity 位置:

UnityAppController ->  startUnity ->  [self showGameUI] -> UnityRepaint() -> UnityPlayerLoop()

简单屏蔽导致现象:unity场景无法加载成功

解决方式为:

Xcode->Product->Scheme->Edit Scheme, disable Metal API

 

posted @ 2020-06-17 22:24  仲长可倾  阅读(311)  评论(0编辑  收藏  举报