Search Unity

Bug d3d11: buffer size can not be zero

Discussion in 'Windows' started by leapp, Jun 17, 2021.

  1. leapp

    leapp

    Joined:
    Mar 19, 2015
    Posts:
    19
    I create a skinned mesh and display it
    in 2019.4.9f1 every thing is fine
    upgrate to 2019.4.28f1 there is a error :
    d3d11: failed to create buffer (target 0x1 mode 3 size 0) [0x80070057]
    d3d11: buffer size can not be zero

    which make the mesh disapear in scene or game view
     
  2. wda

    wda

    Joined:
    Oct 13, 2014
    Posts:
    11
    check this thread out

     
  3. creay

    creay

    Joined:
    Jan 29, 2016
    Posts:
    1
    Hi ,have you solved this, I encounter the exactly same problem.
     
  4. unity_2jxHNVY36zr2mg

    unity_2jxHNVY36zr2mg

    Joined:
    Jan 17, 2020
    Posts:
    86
    Same problem after upgrading from 2019.4.21f to 2019.4.35f1

    Switching to opengl or opengles didn't help, it doesn't render game view

    d3d11: buffer size can not be zero

    Creating skinned mesh at runtime, renders nothing
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    I'd try resetting editor layout. If that doesn't help, can you file a bug report?