Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building for Holo Lens 1 (x86) #35

Closed
simonjanik opened this issue Apr 28, 2021 · 2 comments
Closed

Error when building for Holo Lens 1 (x86) #35

simonjanik opened this issue Apr 28, 2021 · 2 comments

Comments

@simonjanik
Copy link

simonjanik commented Apr 28, 2021

The example runs fine in the editor (Unity 2019.4.17f1, also 2018.4.28f1), but when I build, I get the following error:

ArgumentException: The Assembly UnityEditor is referenced by OpenCVForUnityCSharpDLL ('Assets/OpenCVForUnity/org/OpenCVForUnityCSharpDLL.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 <2f1c602eae0d45c293fff3e3aef759fa>:0)
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 <2f1c602eae0d45c293fff3e3aef759fa>:0)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at <2f1c602eae0d45c293fff3e3aef759fa>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

error

I tried to build the "HoloLensArUcoExample" scene of your example. Also an empty scene could not be build because of the same error.

What am I missing?

@EnoxSoftware
Copy link
Owner

The TrialVersion of OpenCVForUnity works only with UnityEditor on Windows and mac platforms.
https://enoxsoftware.com/opencvforunity/get_asset/

@vikashsingh009
Copy link

I am also facing same issues with
trial OpenCvUnity on window 10 and getting same error
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants