gpt4 book ai didi

ios - 由于着色器警告和编译器因 XPC_ERROR_CONNECTION_INTERRUPTED 而失败,Unity 应用程序无法在 iOS 上运行

转载 作者:行者123 更新时间:2023-12-01 17:35:37 25 4
gpt4 key购买 nike

我是 Unity 的新手,正在尝试通过 Xcode 制作一款非常简单的 2D 游戏。一切似乎都在工作,并且构建成功。但是,它正在打印以下错误 -

2019-10-23 22:27:16.559673-0600 test4[19600:5249871] Built from '2019.2/staging' branch, Version '2019.2.9f1 (ebce4d76e6e8)', Build type 'Release', Scripting Backend 'il2cpp'
2019-10-23 22:27:16.569618-0600 test4[19600:5249871] -> registered mono modules 0x102e52fd0
-> applicationDidFinishLaunching()
2019-10-23 22:27:17.523747-0600 test4[19600:5249871] Metal GPU Frame Capture Enabled
-> applicationDidBecomeActive()
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A12 GPU
Initialize engine version: 2019.2.9f1 (ebce4d76e6e8)
WARNING: Shader Unsupported: 'Hidden/Internal-GUITexture' - Pass '' has no vertex shader
2019-10-23 22:27:20.289401-0600 test4[19600:5250073] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED
2019-10-23 22:27:20.301490-0600 test4[19600:5250073] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED
2019-10-23 22:27:20.309975-0600 test4[19600:5250073] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED
2019-10-23 22:27:20.310028-0600 test4[19600:5250073] MTLCompiler: Compilation failed with XPC_ERROR_CONNECTION_INTERRUPTED on 3 try
Metal: Error creating pipeline state (Hidden/Internal-GUITexture): Compiler encountered an internal error
(null)2019-10-23 22:27:30.388420-0600 test4[19600:5249871] Unbalanced calls to begin/end appearance transitions for <SplashScreenController: 0x105c0ab00>.
UnloadTime: 0.146417 ms
WARNING: Shader Unsupported: 'Hidden/BlitCopy' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/BlitCopy' - Setting to default shader.
2019-10-23 22:27:31.854057-0600 test4[19600:5250073] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED
2019-10-23 22:27:40.897804-0600 test4[19600:5250073] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED
2019-10-23 22:27:50.936250-0600 test4[19600:5250073] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED
2019-10-23 22:27:50.936525-0600 test4[19600:5250073] MTLCompiler: Compilation failed with XPC_ERROR_CONNECTION_INTERRUPTED on 3 try
Metal: Error creating pipeline state (UI/Default): Compiler encountered an internal error
(null)

几分钟后黑屏变成蓝色,没有任何反应。我试图将所有着色器设置为不支持,但这没有用。我找不到有类似问题的人。我发现其他人有着色器问题,但他们似乎通过切换到“不支持”来修复它。此外,该游戏在 Unity 以及我的带有 Unity Controller 应用程序的 iPhone XR 上运行得很好。

我正在使用 Xcode 11 和 Unity 2.1.2。我正在尝试在我的 iPhone XR 上运行游戏。

最佳答案

这似乎是 MacOS Catalina 的问题,这里的人正在讨论它: https://issuetracker.unity3d.com/issues/ios?page=1#comments

我的解决方案是在项目设置中将颜色空间更改为线性而不是 Gamma 。

关于ios - 由于着色器警告和编译器因 XPC_ERROR_CONNECTION_INTERRUPTED 而失败,Unity 应用程序无法在 iOS 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58534265/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com