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

Unsafe Code Error (Sharing folder)

Hi All,

I want to explore deeper about Sharing from HoloToolKit folder. Unfortunately I found Unsafe Code errors from several code belongs to Sharing folder (AnchorDownloadRequest, ImageTagManager, NetworkInMessage, NetworkOutMesage, RoomManager, TagImage, VisualPairConnector). In the Asset folder I already make sure it has the .rsp files (csc, fmcs, smcs). Any suggestion how to solve this issue? Seems like there is no clear solution from previous thread as well.

Thanks for your attention.

Cheers,

Answers

  • Options

    Those files need to move from the HoloToolkit\assets folder into your main project's assets folder.

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

  • Options

    @markus when you dragged the HoloToolkit into the Unity Asset folder did you also drag the .rsp files along?

    Windows Holographic User Group Redmond

    WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
    WinHUGR YouTube Channel -- live streamed meetings

  • Options

    @mARkus,

    This is due to the fact that the VS project settings are not properly set. I was having the same problem:

    Open the project properties for SessionManagerUniversal.UI, and go to the Build tab. Check/enable "Allow unsafe code" for each configuration and platform you intend to build for (total of 6 by default, if you use the build script).

    HTH,
    ~h

Sign In or Register to comment.