Search Issue Tracker

Fixed in 2019.3.X

Votes

4

Found in

2018.1.0b3

2018.3.0a1

2019.1.0a1

2019.2.0a1

Issue ID

989374

Regression

No

Editor crash on Disconnect when using Holographic Emulation with HoloLens

XR SDK

-

How to reproduce:
1. Open the attached "Repro.zip" project
2. In Build Settings, set Target Platform to "UWP"
3. Open "Holographic Remoting" window
4. Select "Emulation Mode" to be "Remote to Device"
5. Set the HoloLens IP in "Remote Machine" field
6. Open the "AnchorPlacement" scene
7. Press "Connect" (in "Holographic Emulation" window)
8. Enter Play mode
9. Flip HoloLens device upside down
10. Move it around while it is upside down for a few seconds
11. Flip it up again
12. Leave Play mode
13. Press "Disconnect" (in "Holographic Emulation" window)
-- Editor crash
(14. If no crash, repeat steps 7-13 a few times)
-- Editor crash

Reproducible with - 2018.3.11f1, 2019.1.0b9, 2019.2.0a10

Note: Crash seems to be less consistent on 2019.2.0a10 and crashes without a stack trace.

Stack trace:
(ntdll) TpSetWait
(ntdll) RtlEnterCriticalSection
(ntdll) RtlEnterCriticalSection
(Microsoft.Perception.Simulation) DllCanUnloadNow
(Microsoft.Perception.Simulation) DllCanUnloadNow
(Microsoft.Perception.Simulation) InitializePerceptionSimulation
(Microsoft.Perception.Simulation) InitializePerceptionSimulation
<...>

  1. Resolution Note (fix version 2019.3):

    Fixed with 2019.4.0f1

Comments (5)

  1. thegary

    Nov 22, 2019 10:27

    PLEASE VOTE FOR THIS BUG!
    Maybe that will help get their attention.
    still not fix on the 22.11.19 UnityVersion:2018.4.12f1

  2. nonemec

    Feb 04, 2019 13:42

    What a pity - I was celebrating too early: What is fixed is only the easy repro. In a real scenario (after performing some actions within my app) the Disconnect still causes a crash.

    By attaching Visual Studio, to the Unity process, I could verify where the crash happens: somewhere inside Microsoft.Perception.Simulation.dll - in one specific case, the crash is an Access Violation inside ntdll.dll!RtlEnterCriticalSection called by aforementioned .dll

    For some reason, the UnityCrashHandler is not triggered any more like it was in 2018.2

    I really hope this gets addressed soon! Feel free to contact me for more details.

  3. nonemec

    Feb 04, 2019 13:20

    The issue appears to be fixed (or at least significantly improved) in 2018.3.4f1 -- by toggling back-and-forth a few times in various timings and sequences, I could not reproduce a crash any more. Previously, the same actions would have causes a crash quite easily.

  4. xiaogui972

    Jan 04, 2019 10:47

    Still crashes in 2018.3.0f2.

    Crashes every time if trying to disconnect while the editor is playing, crashes every two-three times if first stopping the editor then disconnecting.

    +1 for seriously impacting productivity, forcing a terrible development experience.

    Please fix!

  5. nonemec

    Dec 03, 2018 08:47

    Any progress on this issue? I experience frequent crashes in my daily work with Holographic Remoting and on sending a crash dump, it was suggested that it is related to this issue. The crashes are really impacting my productivity (not to mention my mental stability...)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.