Search Unity

Ray tracing crashes

Discussion in 'High Definition Render Pipeline' started by cchatzakis, Nov 22, 2019.

  1. cchatzakis

    cchatzakis

    Joined:
    Nov 22, 2019
    Posts:
    7
    Hello everyone!

    First in the forum, so excuse me if this has been already mentioned. I have spent a couple of days playing around with ray tracing in unity 2019.3. So far so good, except the fact that when I try to change the number of bounces in the ray traced GI (even from 1 to 2) my computer completely freezes. I have and RTX6000.

    What is the default number of bounces before you enable the override?

    Also, when setting a new material and chane it's rendering mode to Ray tracing, it just disappears.

    Anyone else facing these issues?
     
  2. JonathanRayPollard

    JonathanRayPollard

    Joined:
    May 13, 2015
    Posts:
    6
    I can confirm. Moving the bounces to override 2 crashes unity and corrupts my project.

    i9-9900k, RTX 2080, 32gb ram.
     
    Bordeaux_Fox likes this.
  3. Mark_29

    Mark_29

    Joined:
    Aug 11, 2014
    Posts:
    79
    Can confirm, Titan Rtx, ryzen 3900x
     
  4. elbows

    elbows

    Joined:
    Nov 28, 2009
    Posts:
    2,502
  5. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    766
    Yes, it's an issue we already encounter. Was able to reproduce and a bug report is already filled.
    Which version are you on ? (I tried on 2019.3.0f2 and HDRP 7.1.6)
     
  6. JonathanRayPollard

    JonathanRayPollard

    Joined:
    May 13, 2015
    Posts:
    6
    Happened on 2019.3b12 w/ 7.1.5. Still happening on 2019.3.0f1 w/ 7.1.6.

    Note that the project corruption that I mentioned previously is not occurring on the 2019.3.0f1 build.
     
    Last edited: Dec 3, 2019
  7. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    766
    Thank you JPollard

    I think when you try to open the project after the crash, Unity reopens the last opened scene with the 2 bounces on the GI so it crashes again.
    The workaround for now (until the issue is resolved) is to delete the file "LastSceneManagerSetup.txt" in your library and create a new scene OR edit the bounceCount override setting (via a text editor) in your volume file .asset back to 1 before opening the project
     
    JonathanRayPollard likes this.
  8. cchatzakis

    cchatzakis

    Joined:
    Nov 22, 2019
    Posts:
    7
    Thank you b4cksp4c3.

    For me its v. 2019.3.0b10 w/7.1.1.
     
  9. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    766
    In the meantime, while we are working on a fix, It appears that some Nvidia drivers are better than others.

    For example, the latest driver version in which I can't reproduce the bug is the Geforce Driver 436.30 released 09/10/2019 (on a 2080Ti)
     
  10. VRising

    VRising

    Joined:
    Apr 15, 2016
    Posts:
    29
    Unity crashes for me whenever I try and adjust the size of a panel. Anyone else?
     
  11. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    766
    Could you provide more information like the version your using (Engine + HDRP package), hardware, repro steps ?
    Also, if you have a repro project it would help us understand what's happening. Thanks