Search Unity

Question macos hdrp empty template crashes

Discussion in 'High Definition Render Pipeline' started by cemleme, Sep 17, 2019.

  1. cemleme

    cemleme

    Joined:
    Mar 24, 2017
    Posts:
    30
    Hello,

    I wanted to test HDRP but every time I create an empty hdrp template, the unity editor crashes. It also crashed when I try to reopen it.

    This is the crash report:
    -[MTLIGAccelCommandBuffer renderCommandEncoderWithDescriptor:]:369: failed assertion `Already have uncommitted encoder'

    I am using macOS Mojave 10.14.6

    I tried hdrp templates using 2019.2.0f1 and 2019.2.4f1

    I also tried creating an empty template and then adding the hdrp from package manager. Once I assign the hdrp settings to the graphics settings the unity crashed again

    I tried to disable Metal and then assign the hdrp, it didnt crash but obviously it didn't run as well, unity gave an error saying to enable metal.

    I searched around but couldn't find any solution.

    I would appreciate any help

    Thanks
     
    Last edited: Sep 17, 2019
  2. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    Can you please give more information about your hardware / software configuration please ?

    Also, have you checked with more recent 2019.2 ? (And 2019.4 isn't available yet, you probably made a typo)
     
  3. cemleme

    cemleme

    Joined:
    Mar 24, 2017
    Posts:
    30
    yes sorry it is 2019.2.4f1
    attaching my mac properties

    another point to mension: standard pipeline and lwrp both works without any issues
     

    Attached Files:

  4. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    This crash might be hardware specific ("old" intel chipset) ... I'll see if we are able to reproduce the issue on one of our setup, but for the moment, it wasn't the case.
    You best bet know would be to send us a bug report with the crash log, and please copy the issue link here.
     
  5. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    Update : I've found somebody with a very similar setup (all the same as you, but 16GB of ram) and it still doesn't crash.

    Please send us a bug report with the crash log.
     
  6. cemleme

    cemleme

    Joined:
    Mar 24, 2017
    Posts:
    30
    hello,

    just for an update.

    tried 2019.3.0b4 and it doesn't crash. same settings same everything
     
  7. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I've suddenly started seeing this exact same crash on as HDRP project that was working earlier today.

    Crash log (which includes version info):

     
  8. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Still seeing this, after throwing out the Library and Temp folders and letting Unity reload everything from scratch. It is 100% consistent; I can't load this project at all.

    Same project loads OK on Windows. And other projects load fine on my Mac, with the same version of Unity.

    But unfortunately the project is 83 GB, so I don't think you want me attaching it to a bug report... any suggestions? I'm desperate to get back to work here.
     
  9. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I tried updating to 2019.3.0b5, and that at least did not crash immediately. But that has other issues (the scene view is getting about 0.5 frames per second, even in a fairly simple scene) that make it pretty much unusable for now.

    So I reverted back to 2019.2.0f1, let it downgrade the project, and all was good at first. Editor was up and working, I ran the scene and it ran, but then when I stopped the scene — boom. :(

    And now, I'm right back in the same state where it crashes on launch (when launched with this project).

    I'm downloading 2019.2.8f1 in hopes that this will fix it. If it doesn't, I'm really stuck...
     
  10. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    ...and to follow up, no, 2019.2.8f1 doesn't fix it. :(

    @Remy_Unity, is there anything in this crash log that provides a clue for some workaround? The crash is inside of DrawLightProbeGizmoImmediate, apparently while trying to compile a GPU program. What in the project could trigger this? Would it have to do with light settings? Shaders in the project? Something else? I'm desperate here...
     
  11. cemleme

    cemleme

    Joined:
    Mar 24, 2017
    Posts:
    30
    did you try 2019.3 beta? does it also solve your crashes?
     
  12. dri_richard

    dri_richard

    Joined:
    Mar 10, 2017
    Posts:
    153
    Same for me in 2019.2.9 on a MacBook Air (13-inch, 2017)