Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

GalaxyExplorer crash when running on device

ccifraccifra
edited April 2016 in Questions And Answers

Hi,
I am new to this but I was hoping to get off to a good start by playing with the galaxy explorer. Unfortunately it crashes just after I place the earth on screen and see the solar system. I get an AccessViolation here:

    Collider[] colliders = content.GetComponentsInChildren<Collider>(true);
    foreach (Collider collider in colliders)

In TransitionManager.cs line 505.

And the output window shows:
ViewLoader: Loaded SolarSystemView
(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/UnityEngineDebugBindings.gen.cpp Line: 45)
ViewLoader: Loaded GalaxyView
(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/UnityEngineDebugBindings.gen.cpp Line: 45)
Supplied PxGeometry is not valid. Shape creation method returns NULL.

(Filename: C:/buildslave/physx/build/Source/PhysX/src/NpFactory.cpp Line: 675)
Exception thrown: 'System.AccessViolationException' in UnityEngineProxy.dll
The program '[2872] GalaxyExplorer.exe' has exited with code -1 (0xffffffff).

Any idea what could be wrong? I am using VS 2015 Update 2 and Unity 5.4.0b10-HTP

Answers

  • Fails same way in HoloLens Emulator when built in Debug x86 Stops at same line number. This runs in the Unity player

  • Jimbohalo10Jimbohalo10 ✭✭✭
    edited April 2016

    Have you tried to use a release deployment onto the device then go into the portal and start the deployment from the app section of the portal. This is probably how developers did not see this problems especially as the program runs on Unity player

Sign In or Register to comment.