Unityエラー

Unityエラー

VectorGraphicsが原因でUnityEngine.UIへの参照がエラーになる問題

普段当たり前のように使っていたUnityEngine.UIですが、先ほど突然UnityEngine.UIへの参照がされなくなってしまいました。エディタはVSCodeを使っているのですが、突然usingUnityEngine.UI;という記述...
Unityエラー

【ZenjectException】Instantiator should not be used to create new mono behaviours. というエラー

Zenjectでのエラー。ZenjectException:Asserthit!Erroroccurredwhileinstantiatingobjectoftype'xxxx'.Instantiatorshouldnotbeusedtoc...
Unityエラー

Refresh case sensitivity failure. というエラー

Unityで以下のエラーが出ました。Refreshcasesensitivityfailure.原因と解決方法主には.metaファイルが原因のようです。不適切なファイルの追加/削除を行ったりしたときに、.metaファイルが壊れる(対応ファイ...
Unityエラー

NCMBエラー「UriFormatException: Invalid URI: The URI is empty.」の原因と解決方法

Unityプロジェクトのオンラインランキング実装で、NCMBを利用していました。それまで正常に動作していたのですが、インポートし直した際にエラーが出て動作停止するようになったので、原因を探りました。UriFormatException:In...
Unityエラー

Duplicate class android.support.v4.app.XXX found in modules classes.jar … というビルドエラー

UnityでAndroidビルドする際、以下のようなエラーが大量に出てきました。Duplicateclassandroid.support.v4.app.INotificationSideChannel$Stubfoundinmodules...
Unityエラー

Exception: /xx/xx/xx/il2cppcore.dll did not run properly! のビルドエラーを解決

UnityでのAndroidビルド時、以下のエラーが出ました。Exception:/Applications/Unity/Hub/Editor/2019.2.7f2/Unity.app/Contents/il2cpp/build/il2cp...
Unityエラー

‘VFXManager’ is inaccessible due to its protection level の対処方法

Unityのバージョンを2019.1から2019.3に上げた際、以下のエラーが出ました。Library/PackageCache/com.unity.render-pipelines.lightweight@5.13.0/Runtime/L...
Unityエラー

Unityのバージョンを上げた時に「Feature out variable declaration cannot be used…」というエラー

Unityプロジェクトの使用バージョンを2018.1から2019.1に上げた時に起きたエラー。TextMeshProを使用していたことが原因かと思われます。エラー内容が以下。・・・/Library/PackageCache/com.unit...
Unityエラー

Visual Effect Graph(VFX Graph)が保存できない&反映されない

最近UnityのVisualEffectGraph(VFXGraph)にハマってずっと遊んでたのですが、途中から作成したVFXが保存できなくなってしまいました。一応解決(?)したのでその対処法です。環境Unity:2019.1.1f1Lig...
Unityエラー

「The type or namespace name ‘Editor’ could not be found」というビルドエラー

Unityでビルドした際、以下のエラーによりビルドが失敗しました。Thetypeornamespacename'Editor'couldnotbefound(areyoumissingausingdirectiveoranassemblyr...