Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    Dismiss Notice

Exception every single frame

Discussion in 'Windows Mixed Reality' started by mikerz1985, Apr 17, 2018.

  1. mikerz1985


    Oct 23, 2014
    Hello -- I've used various releases of the holotoolkit, most recently the 2017.2 rc2. I've tried it with Unity 2017.3.1f1, 2017.4.1f1 and 2018.1.0b13

    I keep getting exceptions like this during runtime
    "Exception thrown at 0x76E62552 in arvisualizer.exe: Microsoft C++ exception: _com_error at memory location 0x0CCB9C38."

    I've even removed or deactivated absolutely everything in my scene except for the main camera.

    I've tried multi-pass rendering, single-pass, .net 3.5 runtime, .net 4 runtime, il2cpp backend, .net backend (with this version of holotoolkit i seem to only be able to use il2cpp, so vuforia isn't an option).

    I have no idea why this exception is being thrown, but, as one might expect, it significantly affects performance.

    Any clues? Has anyone else encountered this?
  2. Unity_Wesley


    Unity Technologies

    Sep 17, 2015
    Can you provide the call stack? The exception is not much help on seeing what the issue is, have you try building to a fresh build folder?
  3. mikerz1985


    Oct 23, 2014
    Sure -- this is what I get from the call stack

    Code (CSharp):
    1. KernelBase.dll!_RaiseException@16()
    2. msvcrt.dll!76a5ac19()
    3. [Frames below may be incorrect and/or missing, no symbols loaded for msvcrt.dll]
    4. [External Code]
    5. UnityPlayer.dll!5482edb5()
    6. UnityPlayer.dll!54921798()
    I can't seem to get more information -- it fails to load the pdb for KernelBase, and source is not available