Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Anyone understand this Visual studio Crash debug info?

Discussion in 'Windows' started by stationx, Sep 6, 2013.

  1. stationx

    stationx

    Joined:
    Jul 9, 2012
    Posts:
    251
    Hello,
    I have a very strange crash inside our game. As soon as we launch the game from Visual Studio the first Unity logo shows up and then it crashes.

    It always stops here:

    struct __abi_FunctorCapture1 : public ::platform::Details::__abi_CaptureBase
    {
    __TFunctor functor;
    __abi_FunctorCapture1(__TFunctor __functor) : functor(__functor) {}
    virtual __TReturnType __stdcall Invoke(__TArg0 __arg0) {return functor(__arg0);} <- BREAK
    };

    I have no idea what this function is, what it does etc! It comes direct from a file called vccorlib.h

    I hope someone is able to translate this to C# code something like: "oh, you not supposed to use this function because..."
    I also get this message...

    The file 'C:/Projects/DDLA_UnityWin8/UnityWin8/builds/Windows8/Dark Day LA/bin/x86/Debug/AppX/Data/mainData' is corrupted! Remove it and launch unity again!
    [Position out of bounds! 34732 > 34728]

    When it hit continue, I can play the game, then it gives me another crash and so on...

    kind regards!
     
  2. Phil-AV

    Phil-AV

    Joined:
    Jul 9, 2012
    Posts:
    57
    Your best bet is to enable all exceptions/enabled mixed mode debugging, then post call stacks here when it breaks (no sensors/accelerometer exceptions) for the Unity guys to look over.

    Also if you have any access to a Windows Phone 8 device, I've found that debugging on one of those with D3D11 C# yields better feedback as the majority of issues come back as C# exceptions that you will probably be able to track down.
     
  3. stationx

    stationx

    Joined:
    Jul 9, 2012
    Posts:
    251