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

Bug Crash: Unity Terrain HDRP Demo Scene crashes b8 during import

Discussion in '2022.1 Beta' started by Rowlan, Feb 19, 2022.

  1. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,295
    I tried a full-on import, ie overwriting the standard demo files as well on a new project:

    crash.jpg
    4 GB are a bit too much for a bug report to upload ;)
     
    hippocoder and Deleted User like this.
  2. Deleted User

    Deleted User

    Guest

    Crashed for me aswell
     
    Rowlan likes this.
  3. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,295
    @LeonhardP should I make a support ticket? Not sure if it's even worth uploading the entire project since re-importing afterwards works. It's rather the process that leads to the crash.
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Hi @Rowlan,

    Thanks for flagging. A bug report would still be great to have so we can look through logs and system specs. No need to upload the project if this happens in a new project upon importing the Terrain HDRP Demo Scene.
     
    Rowlan likes this.
  5. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,295
    Done. Case 1408058
     
    LeonhardP likes this.
  6. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
  7. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,295
    LeonhardP likes this.
  8. MadStuntman

    MadStuntman

    Joined:
    Jun 27, 2019
    Posts:
    25
    It started crash in Unity 2022.1.0b13 again. And same even for 2021.2.17f1
     
    Last edited: Mar 27, 2022
  9. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    It crashes in Unity 2021.2.18 too
     
  10. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    When I use the assets in my own scene, unity crashes when I try to place grass on the terrain and the brush is bigger then about 50 or so
     
  11. Deleted User

    Deleted User

    Guest

    Doesn't crash for me if terrain tools is installed from the package manager and just click no when the popup comes to remove or install certain required packages...
     
    Last edited by a moderator: Apr 8, 2022
  12. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    It doesn't crash anymore when switching from dx12 to dx11
     
  13. MadStuntman

    MadStuntman

    Joined:
    Jun 27, 2019
    Posts:
    25
    Of course it doesn't, because this problem exists for DX12 only and caused by TerrainGrass.shadergraph.
     
  14. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    "of course" ?? That Info was never mentioned in this thread here...
     
  15. MadStuntman

    MadStuntman

    Joined:
    Jun 27, 2019
    Posts:
    25
    Hmmm... I really surprised (or it's my mistake) but in the name of topic earlier was mentioned DX12.

    Anyway crashes still happens in 2021.2, 2022.1 Beta, 2022.2 Alpha when you switched to DX12. It is really important for users who want to use DLSS and test it using Terrain Demo.
     
    Last edited: Apr 12, 2022
  16. tvirolai

    tvirolai

    Unity Technologies

    Joined:
    Jan 13, 2020
    Posts:
    79
    This is almost certainly a duplicate of a bug that had just a bugfix land to latest techstream release and has a backport coming to 2021.3 in the next batch. The performance can take a small hit so a full fix will land later. But the one in the queue should unblock everyone.
     
  17. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
  18. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    It works in 2021.3.2 but crashes again in 2022.1.0
     
  19. tvirolai

    tvirolai

    Unity Technologies

    Joined:
    Jan 13, 2020
    Posts:
    79
    Try the latest 2022.1. It landed at 2022.1.1f1.3077 so if your version is older than that it's not there yet.
     
  20. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    The latest I can find (in the hub) is 2022.1.0
     
  21. tvirolai

    tvirolai

    Unity Technologies

    Joined:
    Jan 13, 2020
    Posts:
    79
    Ah indeed. It's not there yet. I'm not 100% sure when the next drop comes but when it comes the fix will be there.
     
    manuelgoellnitz likes this.
  22. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    I tried 2022.1.2 or 3 it does not crash there, but the grass shadows are flickering now.
     
  23. tvirolai

    tvirolai

    Unity Technologies

    Joined:
    Jan 13, 2020
    Posts:
    79
    Are the shadows flickering on also other backends on just DX12? If it's DX12 only go ahead and file a bug.
     
  24. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    I don't know. In my project I turn everything on 11 just for the fun of it:
    • direct x 12
    • ray tracing
    So I don't know which combination kills it. But it definitvely has to do something with the Unity version.
    2021.3.3 has not that problem.
     
  25. tvirolai

    tvirolai

    Unity Technologies

    Joined:
    Jan 13, 2020
    Posts:
    79
    The terrain system doesn't support raytracing, and that includes the foliage and other details. Do you see flickering with raytracing off?