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

HA - 211 Chapter 4 Manipulation

Manipulation crashes the app for me. Anyone else?

I can enter manipulation and start moving the astronaut but after a few seconds the app crashes.

Where/How to debug?

Best Answer

Answers

  • Options

    I have the same problem in an application of my own. As soon as I try to rotate something using the Manipulation events, I randomly get AccessViolationExceptions. Was not able to figure this out, it seemed to come from within Unity, and not my code. Hopefully its just a bug in Unity. @nash what version of Unity are you using?

  • Options
    nashnash ✭✭

    @jboulanger

    Version 5.4.0b10-HTP (24077ef8c12f) Personal
    Thu, 24 Mar 2016 01:41:02 GMT
    Branch: 5.4/platform/winrt/hololens

  • Options

    Are you getting any sort of an error in the debugger? Post your manipulation code. Did you just copy/paste, or did you make some modifications?

  • Options

    @nash thank you reporting this issue. Looks like a regression in the product code base. We are working on getting a bug filed and tracking this issue.

  • Options

    I got the same problem in Unity when I switch navigation to manipulation using keyword. After few seconds of manipulation. The application crashed.

  • Options

    @neerajwadhwa I am working on a capstone project and manipulation is critical for my project. Is it possible to get this fixed soon? Or is there anything else I can rely on?
    Thanks

  • Options

    Is it possible to just try catch this exception?

  • Options
    mark_grossnicklemark_grossnickle ✭✭✭
    edited May 2016

    For those unable to update just yet (not wanting to introduce potential new issues/etc) you can get around this by not having your update function call SendMessageUpwards("PerformManipulationUpdate"...) and instead have the object that is waiting for the update grab the ManipulationPosition on its update tick. Note: This may not work for navigation as the position there is not absolute.

    EDIT: Nevermind, it still crashes when trying to move the object during manipulation updates. Just not scaling for some reason.

    Taqtile

Sign In or Register to comment.