Search Unity

64-bit DX11 problems

Discussion in 'Editor & General Support' started by Porto881, Aug 18, 2015.

  1. Porto881

    Porto881

    Joined:
    Jul 11, 2013
    Posts:
    74
    When I build 64-bit DX11 the game crashes when I quit the game. I´m getting the "The program has stopped working..." message. 32-bit works fine.
    Both 32 and 64-bit works fine in DX9. DX12 just crashes instantly when trying to start the game.

    Im using Unity 5.1.2f1 64-bit and Windows 10.
     
  2. Porto881

    Porto881

    Joined:
    Jul 11, 2013
    Posts:
    74
    Bump
    I´m now using Unity 5.1.3f1 64-bit but same problem
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,443
    Same crashing here since..long time, maybe even 4.x.. seems to happen more with heavy 3D scenes.

    Just 5 minutes ago tried this:
    - Instead of calling Application.Quit() in main scene, load empty scene on esc and call Application.Quit() there in Start.. at first it seemed to help, but then removed it and it didnt crash either.
    So could be something in the quality & light settings which had changed since last build (which crashes everytime on exit)

    *Edit: Seems to crash more often if camera is moving while quitting
     
    Last edited: Sep 2, 2015
  4. Velo222

    Velo222

    Joined:
    Apr 29, 2012
    Posts:
    1,437
    I've had this happen more than a few times as well. I'm on Windows 7, Unity 5.1.1 p1, and been doing dx 11 for awhile now.

    My own "theory" on why it was happening seemed to be when I loaded a Unity game quickly after closing another one -- sort of like the game was somehow still in memory and quickly starting another one fudged things up somehow. But I really have no idea as to the cause of it -- that's just my guess.

    So, to reiterate, I've had it crash simply when using Application.Quit() for closing/exiting a game. To be fair it's one of the best places for a game to crash, as you're done playing the game......:p, but still it can get annoying.
     
  5. Aurore

    Aurore

    Director of Real-Time Learning

    Joined:
    Aug 1, 2012
    Posts:
    3,106
    Have you tried in 5.1.3, I'm pretty sure this is a known issue, but feel free to throw me reports
     
    Last edited: Sep 4, 2015
  6. Porto881

    Porto881

    Joined:
    Jul 11, 2013
    Posts:
    74
    Yes same problem in Unity 5.1.3 :/
     
  7. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,443
    havent had any crash with 5.1.3p2 builds yet