Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

HDRP Shader.WarmupAllShaders(); CRASH in build.

Discussion in 'Graphics Experimental Previews' started by hippocoder, Jul 11, 2019.

  1. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Hi,

    This crashes any standalone, my project, other developers etc, I expect it's a known issue. Would be hard to avoid....
     
  2. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    Hi !
    What is your HDRP and Unity Editor version ?

    I did a try with the HDRP template, using HDRP 6.9.0-preview (with an internal build of 2019.2.0b10), and I did not crash.
    So the bug might have already been fixed.
     
  3. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Unity 2019.1.9f1 with 5.16. Is is a bug with HDRP or editor? If so we could move higher...
     
  4. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    I also tried with 2019.1.9f1 and HDRP 5.16.1 : It did not crash, but the player freezed...
     
  5. Pandanym

    Pandanym

    Joined:
    Dec 2, 2017
    Posts:
    17
    Still the case in 2020.1.7f1, any news ?
     
  6. KHam256

    KHam256

    Joined:
    Sep 17, 2016
    Posts:
    19
    I'm in 2018.4.29 LTS, crash occurs on (d3d11) CreateDirect3D11SurfaceFromDXGISurface but not till after many d3d11: failed to create staging 2D texture which occurs immediately after Shader warmup. This only happens when Shader.WarmUpAllShaders() is introduced
     
  7. MylesLambert

    MylesLambert

    Joined:
    Dec 31, 2012
    Posts:
    61
    FYI this is still the case in 2021.2.7f1.