Skip to content

Error on Android by msvcrt.dll #22

@ManatoMatsumoto

Description

@ManatoMatsumoto

I would like to build for android and run it on a real device, but the following error occurs

DllNotFoundException: Unable to load DLL 'msvcrt.dll'. Tried the load the following dynamic libraries: Unable to load dynamic library 'msvcrt.dll' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "msvcrt.dll" not found
at BlobHandles.BlobHandle.Equals (BlobHandles.BlobHandle other) [0x00027] in C:\UnityProjectFolder\TestMultiPlatform\Assets\OscCore\Dependencies\BlobHandles\Runtime\Structs\BlobHandle.cs:89

I think this is happening because this file is a system library for windows and cannot be called by android.
Or am I just misunderstanding due to my lack of knowledge?

We are currently considering replacing the MemoryCompare method in BlobHandle.cs with another method as a unique solution

The version of unity is 2022.3.16 and the OSC library is 1.1.
using IL2CPP to build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions