Search Unity

Unity always crashes on opening

Discussion in 'Editor & General Support' started by Kristen182, Jul 30, 2019.

  1. Kristen182

    Kristen182

    Joined:
    Aug 10, 2018
    Posts:
    42
    I submitted a bug for this but it hasn't been responded to so I'm hoping someone can help me on here. Unity suddenly will not open when I’m connected to my docking station. It was working fine a few days ago, and the only thing I can think of that has changed is that I updated my Windows 10 to version 1903. Now I am experiencing the crashes when I try to launch any project from Unity hub, even an empty project. I updated unity today to 2019.2 and I'm still having the same problem. I have tested the issue in 2019.1.12, 2019.1.11, 2019.2.0, and 2018.3.13 and it happens in all of them.

    I’m experiencing some odd behaviour. Since this started happening every time I restart my computer or exit Unity hub by quitting it from the system tray, when I re-open it, it tells me I have no valid license and I have to activate it again. I stay logged in to Unity hub though.

    If I launch a project without being hooked up to the docking station, it launches fine. However, this has never been an issue before as I always work hooked up to my docking station. I can also launch fine if I plug one of my monitors directly into my laptop instead of through the docking station. Oddly, I did recently update the driver for my docking station, but I tried rolling it back and rebooting my computer and the issue persists.

    I can provide output from the crash files if it would be helpful, but I don’t want to post it all unless it would help.

    Any ideas why I’m experiencing this strange behaviour?
     
  2. - Check the editor log, it may contain more info about the cause of the crash
    - submit a bug report through the Hub and attach the crash file(s) and log(s), Editor never should crash
     
  3. Kristen182

    Kristen182

    Joined:
    Aug 10, 2018
    Posts:
    42
    I did submit a bug report with the files attached but it's been a few days so I just thought I'd try on here too.

    I can see where the crash happens in the editor.log file but I don't really understand what it means.

    Here's a bit of the section with the crash.

    ...
    <RI> Initialized touch support.

    Crash!!!
    SymInit: Symbol-SearchPath: 'C:/Program Files/Unity/Hub/Editor/2019.2.0f1/Editor/Data/Mono;.;C:\Users\Kristen\Desktop\New Unity Project;C:\Program Files\Unity\Hub\Editor\2019.2.0f1\Editor;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 534, UserName: 'Kristen'
    OS-Version: 10.0.0
    C:\Program Files\Unity\Hub\Editor\2019.2.0f1\Editor\Unity.exe:Unity.exe (00007FF7F5F60000), size: 128794624 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2019.2.0.49510
    C:\WINDOWS\SYSTEM32\ntdll.dll:ntdll.dll (00007FFF599A0000), size: 2031616 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    C:\WINDOWS\System32\KERNEL32.DLL:KERNEL32.DLL (00007FFF58050000), size: 729088 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.86
    C:\WINDOWS\System32\KERNELBASE.dll:KERNELBASE.dll (00007FFF56B30000), size: 2764800 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    C:\WINDOWS\System32\CRYPT32.dll:CRYPT32.dll (00007FFF577E0000), size: 1347584 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    C:\WINDOWS\System32\ucrtbase.dll:ucrtbase.dll (00007FFF575E0000), size: 1024000 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    C:\WINDOWS\System32\MSASN1.dll:MSASN1.dll (00007FFF568F0000), size: 73728 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1

    ... (goes on with more paths like this, then: )

    ========== OUTPUTTING STACK TRACE ==================

    0x00007FFF56B6A839 (KERNELBASE) RaiseException
    0x00007FFF57D7AF7D (msvcrt) CxxThrowException
    0x00007FFF555A348C (dxgi) PIXEndCapture
    0x00007FFF555C7EB3 (dxgi) DXGIGetDebugInterface1
    0x00007FFF555ACED2 (dxgi) PIXEndCapture
    0x00007FFF5557E5F8 (dxgi) DXGIDeclareAdapterRemovalSupport
    0x00007FFF555DECF6 (dxgi) DXGIGetDebugInterface1
    0x00007FFF555CA6BE (dxgi) DXGIGetDebugInterface1
    0x00007FF7F7BFC7C3 (Unity) D3D11Window::Reshape
    0x00007FF7F7BF7984 (Unity) D3D11Window::D3D11Window
    0x00007FF7F7BEB23F (Unity) GfxDeviceD3D11Base::CreateGfxWindow
    0x00007FF7F7C866AB (Unity) GfxDeviceWorker::RunCommand
    0x00007FF7F7C890EB (Unity) GfxDeviceWorker::RunExt
    0x00007FF7F7C894D8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
    0x00007FF7F8ABA747 (Unity) Thread::RunThreadWrapper
    0x00007FFF58067BD4 (KERNEL32) BaseThreadInitThunk
    0x00007FFF59A0CE71 (ntdll) RtlUserThreadStart

    ========== END OF STACKTRACE ===========
     
  4. donclaveau3

    donclaveau3

    Joined:
    Aug 10, 2019
    Posts:
    1
    I have the same symptom and a similar stacktrace. I downloaded Unity Hub 2.1.0 and Unity 2019.2.0f1 today to try some tutorials. I create a new project, try to open it, crash.

    Unhandled exception at 0x00007FFB2B21A839 in crash.dmp: Microsoft C++ exception: _com_error at memory location 0x000000B61A4FCAA0. occurred

    [External Code]
    dxgi.dll!DXGIThrowFailure()
    dxgi.dll!FindIndex<SAdapterDesc,<lambda_e424ac26298f72c174c910a2495b620c> >()
    dxgi.dll!MaximizedWindowedModeFullscreenEnabled()
    dxgi.dll!CDXGITelemetryHelper::LogCreateSwapChainEvent_Worker()
    dxgi.dll!CDXGITelemetryHelper::LogCreateSwapChainEvent(class CDXGIAdapter *,struct IUnknown *,struct DXGI_SWAP_CHAIN_DESC const *,struct IDXGISwapChain * *,long)
    dxgi.dll!CDXGIFactory::CreateSwapChain(struct IUnknown *,struct DXGI_SWAP_CHAIN_DESC *,struct IDXGISwapChain * *)
    Unity.exe!D3D11Window::Reshape(int,int,enum DepthBufferFormat)
    Unity.exe!D3D11Window::D3D11Window(struct HWND__ *,int,int,enum DepthBufferFormat)
    Unity.exe!GfxDeviceD3D11Base::CreateGfxWindow(struct HWND__ *,int,int,enum DepthBufferFormat)
    Unity.exe!GfxDeviceWorker::RunCommand(class ThreadedStreamBuffer &)
    Unity.exe!GfxDeviceWorker::RunExt(class ThreadedStreamBuffer &)
    Unity.exe!GfxDeviceWorker::RunGfxDeviceWorker(void *)
    Unity.exe!Thread::RunThreadWrapper(void *)
    kernel32.dll!00007ffb2ce37bd4()
    ntdll.dll!00007ffb2e00ce71()

    UPDATE:
    I have an extended display with three monitors. When one of my monitors (Acer model S271HL) is primary, the crash occurs. When I switch primary so that the app loads on a different screen, no crash... The Acer monitor is pretty big and the stack trace goes crazy at Window::Reshape(int,int,enum DepthBufferFormat), so I'd speculate this is related either to screen size or the monitor driver.
     
    Last edited: Aug 11, 2019
  5. Kristen182

    Kristen182

    Joined:
    Aug 10, 2018
    Posts:
    42
    For me it ended up being a driver issue. I had move to an older version of an Intel driver under Display. I forgot to report back here.