unity3d - Shader Compiler Error - 2019.2.11 Android Build Not Working Properly
问题描述
After creating a demo project, I have exported a game project for my Android device and as the game played within the device, I got shocked because of this kind of output:
There is no Canvas UI exists, there is no skybox exist and there is a black stripe in the middle of the screen. Up to now, I have tested game within the Unity Editor and it was working perfectly.
Here are the inspector settings for the Android Build:
Now provide me some suggestions so I can solve this problem and I can test the game within my Android device.
解决方案
Now I got a solution for my this problem. I was getting this kind of error messages in the console:
There is a shader compiler related problem that exists and I got a proper solution in this thread and I have applied and it worked for me.
推荐阅读
- sql-server - 需要帮助来决定与 C# 相关的 SQL Server 的枚举实现
- node.js - Specifying private dependencies for NodeJS in Cloud Functions
- multithreading - TestNG:是否可以在 TestNG 的类级别提供线程数
- azure - Azure 自动化 Runbook 完成时调用 API
- database - 您如何设计一个 OLAP 系统来支持每小时(或更精细)API 使用统计信息的仪表板
- android - 在数据库中存储资源 ID?
- php - 如何将两个或多个参数传递给 Codeigniter 的默认控制器?
- go - Golang Google Admin SDK API 客户端未正确设置布尔属性
- flutter - 为什么从 ModalRoute 获取参数的屏幕会在 Navigator pop 上重新构建?
- haskell - 在 ghci 中定义时与在脚本中定义时的值类型