question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WorldAnchorManager causes WinRTScriptingObjectWrapper crash in Debug Mode

See original GitHub issue

Using the HoloLens, the call to GetAsync() in WorldAnchorManager::Awake() never returns. A breakpoint on line 65 is hit, then the app crashes. Runs fine in Release mode.

WinRTScriptingObjectWrapper::InternalAddRef Reference Count cannot be zero (Filename: C:\buildslave\unity\build\Runtime/ScriptingBackend/DotNet/ScriptingApi_DotNet.cpp Line: 661) The program '[4144] test8.exe' has exited with code -2147483645 (0x80000003).

We can replicate this on PCs with VS2017 Enterprise and Community, with Unity 5.6, and on two separate HoloLens devices.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
gitAllendercommented, Apr 22, 2017

Updated. The same result.

3reactions
gitAllendercommented, Apr 21, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

WorldAnchorManager causes WinRTScriptingObjectWrapper ...
A breakpoint on line 65 is hit, then the app crashes. ... WorldAnchorManager causes WinRTScriptingObjectWrapper crash in Debug Mode #623.
Read more >
VS2017/U5.6 Crash - WinRTScriptingObjectWrapper ...
@neerajwadhwa : WorldAnchorManager together with Unity 5.6.0f3 behaves erratically. In my case - when debugging connected to the device, ...
Read more >
Game crashes nearly instantly while using debug mode.
The crash happens when I use debug mode to spawn in geysers of any sort. Enabling/disabling sandbox mode, debug menu (backspace) and instant ......
Read more >
Pycharm Crashes when I Debug, but not when I Run : PY-52305
Hi people! I had the same issue working with SUMO. The solution a found was delete all the previous debuggin points, check debug...
Read more >
Debugging causes IDE crash
I don't know what happened. It all worked well, then suddenly I can't debug anything. Trying to run the debugger causes the IDE...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found