IanPhilips / UnityOculusAndroidVRBrowser

3D browser based on GeckoView and Oculus SDK for Unity projects built on Android (Oculus Go/Quest, maybe GearVR)
MIT License
225 stars 63 forks source link

build stop with 'ArgumentException: The Assembly UnityEditor is referenced by UniRx.Async' #34

Closed pokkii0206 closed 3 years ago

pokkii0206 commented 3 years ago

Hi, I'm a beginner at unity. I imported UnityOculusAndroidVRBrowser and fixed the conflict with my default oculus plugin. But when I build it, stoped with 'ArgumentException: The Assembly UnityEditor is referenced by UniRx.Async'. Detail is here,

ArgumentException: The Assembly UnityEditor is referenced by UniRx.Async ('Assets/UnityOculusAndroidVRBrowser-master/UnityProject/obj/Debug/UniRx.Async.dll'). But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at /Users/bokken/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:154) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at /Users/bokken/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:194) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

Please tell me how to fix this. Thank you.

IanPhilips commented 3 years ago

I don't think we use that library, are you sure it's related to this project? Did you recently try and add UniRx to your project?