Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Player Crashes when Locking the Computer and game continues to run in background

Discussion in 'Editor & General Support' started by hernaez, Jan 6, 2016.

  1. hernaez

    hernaez

    Joined:
    Aug 16, 2010
    Posts:
    19
    Hey Guys,

    We are having an issue with the player when the user locks windows and leaves the game running in background. This is 100% reproducible and it seems it's a Unity Engine issue.
    I would appreciate some help here.

    Crash call stack bellow.

    HandleD3DDeviceLost
    HandleD3DDeviceLost: needs reset, doing it
    FullResetD3DDevice
    ResetD3DDevice
    dev->Reset
    D3Dwindow device not lost anymore
    Crash!!!
    SymInit: Symbol-SearchPath:

    [...]

    0x000000013FBB6B1B (Hereford) GfxDeviceClient::SetMaterialProperties
    0x000000013F3EECCD (Hereford) CanvasBatchIntermediateRenderer::Render
    0x000000013F3BA39A (Hereford) BatchRenderer::Add
    0x000000013F3C5AF0 (Hereford) ForwardShaderRenderLoop::performRendering
    0x000000013F3C748D (Hereford) DoForwardShaderRenderLoop
    0x000000013F3CFE94 (Hereford) DoRenderLoop
    0x000000013F3D589D (Hereford) Camera::DoRender
    0x000000013F3DC7BE (Hereford) Camera::Render
    0x000000013F3DD672 (Hereford) Camera::Render
    0x000000013F411A1E (Hereford) RenderManager::RenderCameras
    0x000000013F5E4372 (Hereford) PlayerRender
    0x000000013F5E53BD (Hereford) PlayerLoop
    0x000000013F726D60 (Hereford) PlayerMainWndProc
    0x000000013F72A9A3 (Hereford) PlayerWinMain
    0x000000013FC2993C (Hereford) stricmp
    0x00000000776C5A4D (kernel32) BaseThreadInitThunk
    0x00000000778FB831 (ntdll) RtlUserThreadStart

    Thanks!