Skip to content

x64 build results in -> DLLNotFoundException: Unable to Load DLL 'Microsoft.MixedReality.SceneUnderstanding.dll': The specified module could not be found. #34

Description

@porter557

This is NOT the same as this issue: https://github.com/microsoft/MixedReality-SceneUnderstanding-Samples/issues/28j which has a very similar title.

I am able to build and run my project just fine in the Unity Editor (2021.3.6f1).

However, our project requires the use of the SceneUnderstanding module to run in an 'AppRemoting' x64 build on a desktop.

These are my build settings in Unity (2021.3.6f1)
image

Build settings in Visual Studio (VS Community 2019 Version 16.11.19)
image

The Visual Studio build works just fine! No errors, however, when I attempt to run it. I get the following error:

image

I expected it to be compatible with a desktop build if it could build in Unity and run just fine?

Here's what I have done to attempt to fix it

copied the file '\myProject\Library\PackageCache\com.microsoft.mixedreality.sceneunderstanding@7bfd3a8ea18c\Editor\Plugins\x64\Microsoft.MixedReality.SceneUnderstanding.dll'

To:
\myProject\build\build\bin\x64\Release\AppX\

When I do this, the SceneUnderstanding.dll is found, but then I get the following error:
image

I will also add that the documentation says its compatible with UWP build: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/scene-understanding-sdk#where-do-i-get-the-sdk

Any help is greatly appreciated :D Is there a way around this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions