Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Importing Packages into Unity

How do you import packages like Newtonsoft Json into Unity. I heard that you should directly upload the DLL files into the Assets/Plugins folder in Unity, but I also heard you need WSA and Win32 DLLs. What's the difference and where do you find the WSA DLLs?

Tagged:

Best Answer

Answers

  • Options
    Jimbohalo10Jimbohalo10 ✭✭✭
    edited October 2016

    Hi @jonathanhuang13 WSA DLLs are built for Universal Windows Program environment the source library is UPGRADED by someone using .NET 5.0 CORE.
    However Unity 5 needs a Maximum of .NET 3.5.

    There are NO Versions supported in NuGet for HoloLens
    The asset store version is for Unity 4.6, not much use for us!
    REALLY hard to create as Unity will not copy onto VS 2015.

    http://answers.unity3d.com/questions/631546/using-a-nuget-package-jsonnet.html

  • Options

    Hi @Jimbohalo10, thanks for the reply! I followed the link and am pretty sure that I did everything correctly, but Unity still throws an error: UnityException: Failed to run serialization weaver with command "Temp\StagingArea\Data\Managed\Newtonsoft.Json.dll" -pdb...

    Do you happen to know why this is? I tried using different versions of the Newtonsoft dll (Net35 and Net20), but it doesn't seem to matter which one I use.

    Thanks again for all the help!

Sign In or Register to comment.