ios - iPhone 6s 上不支持 Unity 的着色器
问题描述
我正在为 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
截图:
材质我对所有材质使用相同的设置
解决方案
推荐阅读
- go - 将未知大小的io.Reader读入golang中的字节数组
- python - 记忆和字符串
- c# - 无法打印列表中的元素
- c++ - QT Network QObject::connect 没有匹配的成员函数
- angular - 模态错误中的 Angulat 数据表无法读取未定义的属性“dtInstance”
- qt - 关于QT如何使用的问题。动态链接库
- node.js - 为什么从 omdb api 获得响应时应用程序崩溃?
- flutter - Flutter - 带有更改开/关图标的通知按钮
- python - 通过两个矩阵乘法获得矩阵的右上角
- c++ - 如何从另一个目录导入 C++20 模块?