unity打包xcode,在iOS11裝置除錯報錯

2021-08-09 23:35:11 字數 558 閱讀 1714

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

開啟unity的buildsetting->other setting

Unity打包Xcode,自動配置

unity在2017版本,對xcode工程team id和plist基礎配置已經做了原生整合,可以在playersettings othersettings中直接配置。frameworks 三方庫和資源的匯入,還是可以在editor中使用 postprocessbuild 屬性,進行自動化管理。這裡...

Unity打包xcode工程編譯錯誤及解決方法

unity打包xcode工程二次開發遇到的問題及解決辦法 1.library not found for liphone lib 這個是library 路徑的問題,打包的時候自行為路徑加了引號,將library search path下的路徑 srcroot libraries 引號 去掉,變為 s...

Unity打包 Unity匯出

unity 打包的時候會把下面幾個檔案資源打進apk或者ipa包裡面 1.asset下的所有指令碼檔案 2.asset下所有引用的檔案 比如 場景中直接使用到的資源 3.這裡的resorces不是特指根目錄下的resources,也可以是子目錄下的,只要資料夾名字叫resources就可以 reso...