Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

DllNotFoundException #74

Open
aleverdes opened this issue May 6, 2022 · 4 comments
Open

DllNotFoundException #74

aleverdes opened this issue May 6, 2022 · 4 comments

Comments

@aleverdes
Copy link

Error when opening and running a project from the master branch of the repository.

macOS 12.3.1 (21E258)
Unity 2021.3.1f1

DllNotFoundException: quickjs assembly:<unknown assembly> type:<unknown type> member:(null)
QuickJS.Native.JSApi..cctor () (at Packages/cc.starlessnight.unity-jsb/Source/Native/JSApi.cs:711)
Rethrow as TypeInitializationException: The type initializer for 'QuickJS.Native.JSApi' threw an exception.
QuickJS.ScriptEngine.CreateRuntime (System.Boolean isEditorRuntime) (at Packages/cc.starlessnight.unity-jsb/Source/ScriptEngine.cs:223)
QuickJS.Unity.EditorRuntime.OnEditorInit () (at Packages/cc.starlessnight.unity-jsb/Source/Unity/Editor/EditorRuntime.cs:188)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:371)
@aleverdes
Copy link
Author

The same for 2019.4.38f1 and with the project taken from release 1.7.2

@ialex32x
Copy link
Owner

ialex32x commented May 7, 2022

OK, I'll check it.

@ialex32x
Copy link
Owner

ialex32x commented May 7, 2022

Hi @aleverdes , I've tried but couldn't reproduce this issue on Unity 2021.3 (INTEL) + macos 12.3.1 with M1 chip. Could you give more details about your environment?

And check the output of the macos quickjs library with this command:
file YourLocalPath/Packages/cc.starlessnight.unity-jsb/Plugins/quickjs.bundle/Contents/MacOS/quickjs
It should output:

quickjs: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64
- Mach-O 64-bit bundle x86_64] [arm64]

@aleverdes
Copy link
Author

@ialex32x Hello. Okay, I'll provide all the information I can gather later.

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

No branches or pull requests

2 participants