Skip to main content
New Participant
May 31, 2017

sample framework error

Hi~ I'm use Unity 5.6.1f1(64bit)... anyway new project >>> import OculusSampleFramework.unitypackage(downloaded 30mins ago) >>> switch platform to android >>> connect Samsung S6 smartphone >>> build and run button click >>> error 
==error message is here ==
ArgumentException: The Assembly UnityEditor is referenced by Assembly-CSharp ('Library/ScriptAssemblies/Assembly-CSharp.dll'). But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:142)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179)
UnityEditor.HostView:OnGUI()
== and order error message is here ==
Error building Player: 2 errors
    This topic has been closed for replies.

    2 replies

    New Participant
    July 1, 2017
    I'm having the same problem. Any more updates?
    Up and Coming
    August 9, 2017
    I also experienced this issue migrating a project from Unity 5.6.0f3 to 5.6.3f1.  I was including the OVR Samples for reference and found the simplest solution to work around this error was simply to remove my OVRSamples directory from the project.