質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
C#

C#はマルチパラダイムプログラミング言語の1つで、命令形・宣言型・関数型・ジェネリック型・コンポーネント指向・オブジェクティブ指向のプログラミング開発すべてに対応しています。

Unity

Unityは、Unity Technologiesが開発・販売している、IDEを内蔵するゲームエンジンです。主にC#を用いたプログラミングでコンテンツの開発が可能です。

Q&A

解決済

1回答

2782閲覧

【Unity】iosアプリのビルドでshader関連のエラーが発生しビルドが失敗する。

muuu_u

総合スコア7

C#

C#はマルチパラダイムプログラミング言語の1つで、命令形・宣言型・関数型・ジェネリック型・コンポーネント指向・オブジェクティブ指向のプログラミング開発すべてに対応しています。

Unity

Unityは、Unity Technologiesが開発・販売している、IDEを内蔵するゲームエンジンです。主にC#を用いたプログラミングでコンテンツの開発が可能です。

0グッド

0クリップ

投稿2020/02/24 06:03

編集2020/02/24 06:12

##解決したい事
Unityで初めてアプリの作成を行っています。
ビルドの際に特に思い当たる節のないエラーが出ており困っております。

3D環境で2D画面に近いタップゲームの作成をしており、
特に特殊なシェーダーを追加した覚えがなくシェーダー周りにエラーが何故出てしまうかの検討がつきません。

何かモバイルで利用できないシェーダーなどを放り込んでしまっている
可能性があるのでしょうか?
ご存知でしたらご回答よろしくお願い致します。

UnityのコミュニティでMACのOSに起因する場合もあるような事が記載されていたのですが、
原因として考えられるでしょうか?

https://forum.unity.com/threads/unity-2019-2-7-build-ios-crashes-in-shader-compile.757754/

##実際のエラー文

Shader compiler: Compile Legacy Shaders/Diffuse - FORWARD, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log. Shader error in 'Legacy Shaders/Diffuse': Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log. Shader compiler: Compile Hidden/Internal-PrePassLighting - Pass 1, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log. Shader error in 'Hidden/Internal-PrePassLighting': Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log. Shader compiler: Compile UI/Default - Default, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log. Shader error in 'UI/Default': Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log. Error building Player: 3 errors Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:190 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

##開発環境
MAC OS Catalina バージョン10.15.3
Unity Version 2019.2.5f1

導入アセット
DoTween

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

自己解決

Unityのバージョンを上げてみる事で解決しました。

Unity.version2019.3.0f6

UnityのバージョンとCatarinaとの相性が悪かったのかもしれません。

投稿2020/02/24 07:37

muuu_u

総合スコア7

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問