Giter Club home page Giter Club logo

Comments (6)

djee-ms avatar djee-ms commented on May 22, 2024

Hi @james-carroll-bencin,

...and then copied the DLLs into the include unity project.

You don't need to do that, this is done automatically as part of the solution build.

Did you open Unity before compiling the solution? Do you have all variants of the plugins in the Plugins/ directory? My guess is that you opened Unity, which deleted the .meta files, then you copied the DLLs, but only one variant (x64 Desktop), and Unity regenerated some default .meta files for them for the Editor. But when deploying to something else, the native DLL is not configured anymore to deploy, so is not deployed and not found. You can check the .meta files have been changed with git status; there should be no pending changes.

See about the .meta files configuration in the docs.

from mixedreality-webrtc.

eanders-ms avatar eanders-ms commented on May 22, 2024

Hello. I found a workaround for what might be the same issue. See #82

from mixedreality-webrtc.

djee-ms avatar djee-ms commented on May 22, 2024

I tried in UWP, no issue.

I tried in PC Standalone x86_64, and I can't even generate a correct solution; the _Data folder is created with the wrong name and in the wrong location. I reported the issue to Unity, and until that's solved I cannot try to repro the native DLL loading unfortunately.

from mixedreality-webrtc.

djee-ms avatar djee-ms commented on May 22, 2024

Update (or lack thereof) : there is still a pending issue logged with Unity. They reproduced the _Data folder bug but I can't get any other feedback so far.

from mixedreality-webrtc.

salmanmkc avatar salmanmkc commented on May 22, 2024

Yeah, my solution to fixing all the DLL errors was to go into the solution folder that was generated form unity and find the 64-bit folder with the DLLs, then copy the ones that were missing from the 86 folder and it fixed the missing DLL issues. Although, this was in August, so things may have been fixed since then.

from mixedreality-webrtc.

djee-ms avatar djee-ms commented on May 22, 2024

It seems that there is (another) Unity bug related to standalone deployment on PC. Indeed the DLL is copied to the wrong location. See https://forum.unity.com/threads/dll-not-found-with-standalone-app-but-works-fine-in-editor.389392/ for details. Not sure what's the plan for fixing. As a workaround you can copy the DLL manually from the *_Data\Plugins folder and paste it next to the executable.

from mixedreality-webrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.