Unity + Vuforiaで簡単なARアプリケーションを作成しようと考えています.
その際にVuforia内のソースコードでエラーが出てしまい行き詰っています.
エラー内容
C#
1Assets\Vuforia\Scripts\Internal\RuntimeOpenSourceInitializer.cs(46,20): error CS0246: The type or namespace name 'IUnityAndroidPermissions' could not be found (are you missing a using directive or an assembly reference?) 2Assets\Vuforia\Scripts\Internal\RuntimeOpenSourceInitializer.cs(39,22): error CS0246: The type or namespace name 'IUnityAndroidPermissions' could not be found (are you missing a using directive or an assembly reference?) 3Assets\Vuforia\Scripts\Internal\RuntimeOpenSourceInitializer.cs(95,41): error CS0246: The type or namespace name 'IUnityAndroidPermissions' could not be found (are you missing a using directive or an assembly reference?)
該当箇所のソースコード
C#
1using System; 2using UnityEngine; 3using UnityEngine.EventSystems; 4#if PLATFORM_ANDROID 5using UnityEngine.Android; 6#endif 7 8 9class OpenSourceUnityCompiledFacade : IUnityCompiledFacade 10{ 11 readonly IUnityRenderPipeline mUnityRenderPipeline = new UnityRenderPipeline(); 12 readonly IUnityAndroidPermissions mUnityAndroidPermissions = new UnityAndroidPermissions(); 13 14
おそらくAndoriod関連の何かをImportしていなくてエラーが出ているのですが,何をインストールし忘れているのかがわかりません.
Unityのバージョンは20191.2f1でAndoriod build supportとVuforia Augmented Reality Supportはインストール済みです.
原因がわかる方がいらっしゃいましたらどなたかご回答よろしくお願いいたします.
あなたの回答
tips
プレビュー