DllNotFoundException: EasyAR assembly:<unknown assembly> type:<unknown type> member:(null)

0 votes
asked Sep 23, 2022 by gluckez (130 points)
Ubuntu version: 2021.4, Unity version: 2021.3.5f1, easyAR version: 4.5.
Nothing else installed in the project.
The scene is an empty scene.

Build and player settings are set up as described in the documentation.

error when building:

DllNotFoundException: EasyAR assembly:<unknown assembly> type:<unknown type> member:(null)
easyar.Engine.variant () (at Library/PackageCache/com.easyar.sense@1ad4ba746466/Runtime/Binding/csapi.cs:11781)
easyar.BuildProcessor.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.easyar.sense@1ad4ba746466/Editor/Build/BuildProcessor.cs:81)
Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
easyar.BuildProcessor.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.easyar.sense@1ad4ba746466/Editor/Build/BuildProcessor.cs:268)
UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass16_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at /home/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:436)
UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at /home/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:402)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at /home/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:180)

Tried the following steps:
Create a new project, set up de build and player settings for android, and try to import the package again.
result:
same error.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...