Search Unity

d3d11: failed to create buffer

Discussion in 'Editor & General Support' started by OpticalOverride, Sep 19, 2017.

  1. OpticalOverride

    OpticalOverride

    Joined:
    Jan 13, 2013
    Posts:
    156
    One of my players is getting a very strange error... Apparently their game will freeze (just the image) but the audio will continue on. According to another thread (https://forum.unity.com/threads/crash-on-master-build.451724/), the "[0x887A0005]" error means the graphics card drivers crashed. Not sure exactly what that means or how I should fix this... They have plenty of VRAM for the game (on low settings it uses about 80 MB). Here is the output log.

    output_log.txt:

    Initialize engine version: 5.6.3p1 (9c92e827232b)
    GfxDevice: creating device client; threaded=1
    Direct3D:
    Version: Direct3D 11.0 [level 11.1]
    Renderer: Intel(R) HD Graphics Family (ID=0xa16)
    Vendor: Intel
    VRAM: 1136 MB
    Driver: 10.18.15.4279
    Begin MonoManager ReloadAssembly
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\UnityEngine.dll (this message is harmless)
    Loading C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\UnityEngine.dll into Unity Child Domain
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
    Loading C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\Assembly-CSharp.dll (this message is harmless)
    Loading C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\UnityEngine.UI.dll (this message is harmless)
    Loading C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\UnityEngine.UI.dll into Unity Child Domain
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\UnityEngine.Networking.dll (this message is harmless)
    Loading C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\UnityEngine.Networking.dll into Unity Child Domain
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\AmplifyMotion.dll (this message is harmless)
    Loading C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\AmplifyMotion.dll into Unity Child Domain
    - Completed reload, in 0.283 seconds
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\System.Core.dll (this message is harmless)
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\System.dll (this message is harmless)
    Platform assembly: C:\Program Files (x86)\Steam\steamapps\common\Null Vector\Null_Vector_Data\Managed\System.Xml.dll (this message is harmless)
    desktop: 1920x1080 60Hz; virtual: 1920x1080 at 0,0
    <RI> Initializing input.
    <RI> Input initialized.
    <RI> Initialized touch support.
    UnloadTime: 1.482316 ms
    Setting up 2 worker threads for Enlighten.
    Thread -> id: 2adc -> priority: 1
    Thread -> id: 6ec -> priority: 1
    Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
    UnloadTime: 20.745325 ms

    Unloading 39 unused Assets to reduce memory usage. Loaded Objects now: 1397.
    Total: 3.897051 ms (FindLiveObjects: 0.416864 ms CreateObjectMapping: 0.351729 ms MarkObjects: 2.253673 ms DeleteObjects: 0.871625 ms)

    Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
    UnloadTime: 827.060791 ms

    Unloading 92 unused Assets to reduce memory usage. Loaded Objects now: 13077.
    Total: 11.068621 ms (FindLiveObjects: 1.903128 ms CreateObjectMapping: 1.071768 ms MarkObjects: 7.749495 ms DeleteObjects: 0.343439 ms)

    Target is null for Canvas. Cleaning up.

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    d3d11: failed to create buffer (target 0x1 mode 1 size 3600) [0x887A0005]
    d3d11: failed to create buffer (target 0x2 mode 1 size 120) [0x887A0005]
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: failed to create buffer (target 0x1 mode 1 size 3600) [0x887A0005]
    d3d11: failed to create buffer (target 0x2 mode 1 size 120) [0x887A0005]
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer
    d3d11: attempt to lock null buffer

    Thank you!
    - Alex
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    7,182
    I don't know the answer specifically, though that driver is over 2 years old.
     
  3. Ultroman

    Ultroman

    Joined:
    Mar 10, 2014
    Posts:
    46
    I get the same problem with "Development build" and "Script debugging" turned on. And my drivers are up-to-date.
     
  4. dtupper

    dtupper

    Joined:
    Jul 12, 2017
    Posts:
    1
    Getting the same issue, in the editor, with up to date drivers. Unity support linked me this issue: https://issuetracker.unity3d.com/is...1-failed-to-create-buffer-after-moving-canvas

    I have done everything short of a full format and reinstall: GPU drivers update, full uninstall/reinstall of Unity (including clearing registry), new projects, everything. The only thing that works is swapping to D3D9-- which, of course, breaks all my shaders. Using the -force-driver-type-warp launch option also appears to fix it, but slows Unity down to a crawl.

    I cannot upgrade beyond Unity 5.6.3p1 due to project constraints (VRChat)

    E: Forcing OpenGL 4.5 via launch options is a viable workaround.
     
    Last edited: Dec 12, 2017
    ryo0ka likes this.
  5. ryo0ka

    ryo0ka

    Joined:
    Sep 27, 2015
    Posts:
    32
    Thank you dtupper for the workaround suggestion. Forcing OpenGL 4.5 did solve the issue.
    For anyone in the issue (on Windows): Specify -force-glcore45 as a launch option of your Unity client.
     
  6. dheera1996

    dheera1996

    Joined:
    Aug 3, 2017
    Posts:
    5
    this still exists in 2018.2 ? d3d9 is deprecated in 2018.2... any update on the issue?
     
    Last edited: Aug 8, 2018
  7. Drowning-Monkeys

    Drowning-Monkeys

    Joined:
    Mar 6, 2013
    Posts:
    302
  8. xushunwangdh

    xushunwangdh

    Joined:
    Aug 13, 2018
    Posts:
    2
    This issue still happed in 2018.4.3!

    Anyone knows how to fix it ?
     
  9. mQe

    mQe

    Joined:
    Jul 22, 2012
    Posts:
    51
    Seriously no fix for this?
    It's making development practically impossible :/