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.

Attempted to read or write protected memory.This is often an indication that other memory is corrupt

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
I am getting this error when I try to deploy Planetarium app after adding camera, SpatialMapping gameobject.
Has this happened to someone else?
Can someone please provide me a solution for this?


  • Hey, @MadamM

    I won't claim this is the solution, but it rings the bell a bit. I remember some crash on SurfaceObserver when I deleted the "MainCamera" tag on the main scene camera. Could this be it?


    Building the future of holographic navigation. We're hiring.

  • @stepan_stulov
    thanks for answering, but I tried this out and it didn't work. Any other ideas would be much appreciated

Sign In or Register to comment.