Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Intermittant crashing in Builds, D3D11 C10AndD11View

Discussion in 'Windows' started by kayke, Jun 4, 2020.

  1. kayke


    Oct 21, 2015
    Hello all,

    We have been experiencing intermittent crashing in our builds. The crash ranges from happening a couple minutes in to 25 minutes into the experience. Our project is using the Steam VR SDK. Any one experiencing something similar or any ideas where to look for this? We get the same crashes across the same 10 computers but have other computers that appear to not get any crashes.

    0x00007FFE8010A924 (d3d11) D3D11CoreCreateDevice
    0x00007FFE801093D2 (d3d11) D3D11CoreCreateDevice
    0x00007FFE8010C1F3 (d3d11) D3D11CoreCreateDevice
    0x00007FFE8010CBCF (d3d11) D3D11CoreCreateDevice
    0x00007FFE8010D3C0 (d3d11) D3D11CoreCreateDevice
    0x00007FFE801026AA (d3d11) D3D11CoreCreateDevice
    0x00007FFE80125FD2 (d3d11) D3D11CoreGetLayeredDeviceSize
    0x00007FFE80125F92 (d3d11) D3D11CoreGetLayeredDeviceSize
    0x00007FFE1F395079 (UnityPlayer) CreateDefaultSRV
    0x00007FFE1F397F27 (UnityPlayer) TexturesD3D11Base::RegisterNativeTexture
    0x00007FFE1F38F183 (UnityPlayer) GfxDeviceD3D11Base::RegisterNativeTexture
    0x00007FFE1F43CD5C (UnityPlayer) GfxDeviceWorker::RunCommand
    0x00007FFE1F44471D (UnityPlayer) GfxDeviceWorker::RunExt
    0x00007FFE1F4447F8 (UnityPlayer) GfxDeviceWorker::RunGfxDeviceWorker
    0x00007FFE1F767188 (UnityPlayer) Thread::RunThreadWrapper
    0x00007FFE86DA7974 (KERNEL32) BaseThreadInitThunk
    0x00007FFE86EFA271 (ntdll) RtlUserThreadStart

    The closest other report we have seen was this
    But we stripped out all references to
    Texture2D.CreateExternalTexture() and we are still getting the same crash. Maybe there is another call like that in one of the third party DLL's? Is there any way to check if that is getting called in a compiled DLL?

    Thank again in advance!

    Attached Files:

  2. kayke


    Oct 21, 2015
    Here is that stack from the crash log.

    Code (CSharp):
    1. >    d3d11.dll!C10and11View<ID3D11DepthStencilView,ID3D10DepthStencilView>::C10and11View<ID3D11DepthStencilView,ID3D10DepthStencilView>()    Unknown
    2.      d3d11.dll!CShaderResourceView::CShaderResourceView(struct CShaderResourceView::TConstructorArgs const &)    Unknown
    3.      d3d11.dll!CDevice::CreateLayeredChild()    Unknown
    4.      d3d11.dll!NDXGI::CDeviceChild<IDXGIResource1,IDXGISwapChainInternal>::FinalConstruct()    Unknown
    5.      d3d11.dll!NDXGI::CDevice::CreateLayeredChild()    Unknown
    6.      d3d11.dll!NOutermost::CDevice::CreateLayeredChild()    Unknown
    7.      d3d11.dll!CDevice::CreateShaderResourceView_Worker()    Unknown
    8.      d3d11.dll!CDevice::CreateShaderResourceView(struct ID3D11Resource *,struct D3D11_SHADER_RESOURCE_VIEW_DESC const *,struct ID3D11ShaderResourceView * *)    Unknown
    9.      UnityPlayer.dll!CreateDefaultSRV(ID3D11Texture2D * texture=0x0000016fefac7498, int width=360, int height=240, int mipCount=1, TextureID & tid={...}, const DXGI_FORMAT d3dFormat=DXGI_FORMAT_B8G8R8A8_UNORM, ID3D11ShaderResourceView * * srv=0x00000001026fdd28) Line 533    C++
    10.      UnityPlayer.dll!TexturesD3D11Base::RegisterNativeTexture(TextureID textureID={...}, ID3D11DeviceChild * deviceChild=0x0000016fefac7498) Line 142    C++
    11.      UnityPlayer.dll!GfxDeviceD3D11Base::RegisterNativeTexture(TextureID texture={...}, __int64 nativeTex, TextureDimension dim=kTexDim2D) Line 2594    C++
    12.      UnityPlayer.dll!GfxDeviceWorker::RunCommand(ThreadedStreamBuffer & stream) Line 1319    C++
    13.      [Inline Frame] UnityPlayer.dll!ProcessGfxCommands(GfxDeviceWorker &) Line 161    C++
    14.      UnityPlayer.dll!GfxDeviceWorker::RunExt(ThreadedStreamBuffer & stream) Line 562    C++
    15.      [Inline Frame] UnityPlayer.dll!GfxDeviceWorker::Run() Line 546    C++
    16.      UnityPlayer.dll!GfxDeviceWorker::RunGfxDeviceWorker(void * data=0x0000016c80210ab0) Line 526    C++
    17.      UnityPlayer.dll!Thread::RunThreadWrapper(void * ptr=0x0000016c4006e3b0) Line 78    C++
  3. babbel-ford


    Nov 24, 2017
    Yeah I am seeing a relatively similar crash, no resolution on our end yet though.