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

Building error #12

Open
guardsman111 opened this issue Oct 5, 2021 · 1 comment
Open

Building error #12

guardsman111 opened this issue Oct 5, 2021 · 1 comment

Comments

@guardsman111
Copy link

I'm trying to build an app that allows user to view sketchfab models, and potentially import them into the scene and use them.

It works at runtime, I can see the models in my interface. Now I'm just trying to build it and I keep getting this error -

ArgumentException: The Assembly UnityEditor is referenced by SketchfabPlugin ('Assets/SimplyVideo/Packages/3DModelImporting/Sketchfab For Unity/Dependencies/Libraries/SketchfabPlugin.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 <1daab1e8a63c4d30bee3bfa8949b8ee5>: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 <1daab1e8a63c4d30bee3bfa8949b8ee5>:0) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at <1daab1e8a63c4d30bee3bfa8949b8ee5>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

It appears even though I've removed any editor references in the code, there are still editor references in the .dll which cause unity to break when building.

Anyone know more about what's up this this, and if there's a workaround or a fix they know of?

@jesusracr
Copy link

Para solucionar el error de SketchfabPlugin.dll

  1. Assets, Sketchfab For Unity, Libraries y seleccionar SketchfabPlugin.dll, en el inspector activar la casilla android.
    image

  2. Para el error de android Tv solo es necesario desactivar la opción android tv
    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

2 participants