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

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

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

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

Unity3D

Unity3Dは、ゲームや対話式の3Dアプリケーション、トレーニングシュミレーション、そして医学的・建築学的な技術を可視化する、商業用の開発プラットフォームです。

Unity

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

Q&A

解決済

1回答

1291閲覧

大量の同じエラー発生(Vuforia使用)

1nanana

総合スコア15

C#

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

Unity3D

Unity3Dは、ゲームや対話式の3Dアプリケーション、トレーニングシュミレーション、そして医学的・建築学的な技術を可視化する、商業用の開発プラットフォームです。

Unity

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

0グッド

0クリップ

投稿2020/10/18 07:10

実行に支障はないのですが大量のエラーが出ます。調べてもわからないため、わかる方いらっしゃいましたら宜しくお願い致します。

環境
Unity2018.4.23f
Vuforia
C#

以下エラー内容です。

XmlException: Invalid character in the given encoding. Line 1, position 38. System.Xml.XmlTextReaderImpl.Throw (System.Exception e) (at <b92efb6eef6e41b5abd458f107e6d92e>:0) System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String arg) (at <b92efb6eef6e41b5abd458f107e6d92e>:0) System.Xml.XmlTextReaderImpl.Throw (System.Int32 pos, System.String res) (at <b92efb6eef6e41b5abd458f107e6d92e>:0) System.Xml.XmlTextReaderImpl.InvalidCharRecovery (System.Int32& bytesCount, System.Int32& charsCount) (at <b92efb6eef6e41b5abd458f107e6d92e>:0) System.Xml.XmlTextReaderImpl.GetChars (System.Int32 maxCharsCount) (at <b92efb6eef6e41b5abd458f107e6d92e>:0) System.Xml.XmlTextReaderImpl.ReadData () (at <b92efb6eef6e41b5abd458f107e6d92e>:0) System.Xml.XmlTextReaderImpl.ParseDocumentContent () (at <b92efb6eef6e41b5abd458f107e6d92e>:0) System.Xml.XmlTextReaderImpl.Read () (at <b92efb6eef6e41b5abd458f107e6d92e>:0) System.Xml.XmlTextReader.Read () (at <b92efb6eef6e41b5abd458f107e6d92e>:0) Vuforia.EditorClasses.ConfigParser.fileToStruct (System.String configXMLPath, Vuforia.EditorClasses.AuthoringInfoXmlProvider authoringInfoXmlProvider, Vuforia.EditorClasses.ConfigData configData) (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) Vuforia.EditorClasses.ConfigDataManager.ReadConfigData (System.String dataSetFilePath) (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) Vuforia.EditorClasses.ConfigDataManager.DoRead () (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) Vuforia.EditorClasses.ReadDatabasesTask.Execute () (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) Vuforia.EditorClasses.VuforiaEditorInitializer+<>c.<RunInitTasks>b__2_0 (Vuforia.EditorClasses.VuforiaLifeCycleTask t) (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) (at <e1319b7195c343e79b385cd3aa43f5dc>:0) Vuforia.EditorClasses.VuforiaEditorInitializer.RunInitTasks () (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) Vuforia.EditorClasses.EulaChecker.CheckEula (System.Action onEulaAccepted) (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) Vuforia.EditorClasses.VuforiaEditorInitializer.InitializeEditor () (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) Vuforia.EditorClasses.InitializeOnLoadVuforiaTaskRunner.RunOnceOnInitialize () (at <5c06bfcb9c284fde8b2ff089bf526a12>:0) UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)

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

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

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

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

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

guest

回答1

0

ベストアンサー

XmlException: Invalid character in the given encoding. Line 1, position 38.

まず、
認識できない文字がある、ということです。
よくあるのはエンコードが適切でないってことですが、ここらへん確認してみよう

投稿2020/10/18 08:02

y_waiwai

総合スコア87800

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

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

1nanana

2020/10/18 08:21

ご回答ありがとうございます。 どのスクリプトのエンコードが間違っているかわかりますでしょうか?すべてチェックしないといけないのでしょうか。
y_waiwai

2020/10/18 08:24

エラーメッセージには、どういうエラーがどこで出ているか書かれています。 まずはそれをきちんと読みましょう。 #どの、と言われても、私はエスパーではないので、あなたのコードはみれません
1nanana

2020/10/19 04:27

すみません、調べてみます。ありがとうございました。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.46%

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

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

質問する

関連した質問