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?

Answers

  • 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?

    Cheers

    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.