ios iPhone 6s上不支持Unity着色器

guicsvcw  于 11个月前  发布在  iOS
关注(0)|答案(1)|浏览(168)

我正在为Android和iOS制作一款游戏。这是一个非常简单的项目,因此所有材质都使用LWRP Lit着色器。我试图在iPhone 6s和iPhone XR上构建。在我的Android设备和iPhone XR上,它都运行良好。但在iPhone 6s上,我在加载游戏场景后会被图形工件冻结。
在Xcode中有这样的错误:
在开始时:

ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Hidden/Lightweight Render Pipeline/ScreenSpaceShadows' - Setting to default shader.

ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Waveform' - Setting to default shader.

ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Vectorscope' - Setting to default shader.

ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/LightMeter' - Setting to default shader.

ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Overlays' - Setting to default shader.

ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
WARNING: Shader Unsupported: 'Hidden/PostProcessing/Debug/Histogram' - Setting to default shader.

字符串
在结尾处(在循环中)

Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors) (IOAF code 4)


现在我正在使用Unity 2019.1.0a10,但之前我试图使用2018.3.0.11b和2018.2.17f1进行构建。我也尝试了几个版本的LWRP,但结果仍然相同;c
截图:
Materials我对所有材料使用相同的设置
LWRP Settings

z8dt9xmd

z8dt9xmd1#

我遇到了同样的问题。这里列出的着色器(LightMeter,Histogram等)来自Unity Post Processing包。我实际上将我的项目切换到了URP,它有自己的后处理,所以我只是删除了旧的PP包和与之相关的资产,这些错误消失了。
但它并没有解决图形工件的问题,我也有这个问题。在我的情况下,我不得不禁用我使用的自定义着色器的CullMode,但我想你需要深入研究你的项目的材质和着色器,看看问题可能是什么。

相关问题