Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Error when running almost ANY Unity Engine game.

Discussion in 'Windows' started by caynckle, Feb 2, 2022.

  1. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    here is my error file as well as my player.log for the session. whenever i try to play unity games (tabs, rounds, valheim) they legit just hang and freeze after 30 seconds MAXIMUM. I have tried so many resolutions to no avail and its blood boiling.

    PLAYER LOG: https://pastebin.com/tz29b5Dz
    PLAYER ERROR: https://pastebin.com/GFQsiC8H
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    Why are you running it with "-force-vulkan"? That's a really bad idea.
     
  3. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    There was just a thing online that said to try running it in vulcan. I won't do it anymore. But that isn't the cause of the issue, even if I launch it regularly it freezes after 30 secs max. And again even tho these are the crashes and logs from valheim, its been happening on all the utility engine games i own (no other games) and my drivers are all fully updated. If you can provide anymore help I'd appreciate it immensely!
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    Can you upload the .dmp file from the crash?
     
  5. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    Here's the .dmp file compressed to a .rar file
     

    Attached Files:

  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    Did this crash happen right after launch? Can you show the log file corresponding to the dump? It for whatever reason fails to allocate a back buffer... You are not low on memory when this happens, are you?
     
  7. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    here ya go
     

    Attached Files:

  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    The error is DXGI_ERROR_DEVICE_REMOVED which is basically "something in the graphics driver went very wrong, but there isn't a good way to find out what".

    Are you changing the game resolution or any other settings when this happens? I noticed it's failing right as the back buffer is getting recreated.

    While this is not guaranteed to work, you could try switching to DirectX 12 with the "-force-d3d12" option (this is similar to the Vulkan advice, except that the Vulkan backend is unlikely to work on Windows games as it requites the game to opt-in to support it whereas D3D12 shares shaders with D3D11).

    If this is happening with multiple games, it's likely the issue with the system (either software or hardware). It might be worth trying to reinstall Windows cleanly from scratch.
     
  9. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    where do i type this into
     
  10. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    Ill try it, and i reset windows about a week ago. there was a point where i thought an issue being caused was due to my gpu drivers so i uninstalled them but im pretty sure i reinstalled them fine as not a single game that doesnt run on unity engine has had issues.
     
  11. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    as expected it did nothing and i have to restart my pc because of it. this isnt an issue im having alone. there have been issues like this everywhere because unity is nothing short of an unstable engine in its current state. how i can play the $100 catalogue of games that I have under this engine?
     
    Last edited: Feb 3, 2022
  12. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    Hello??????
     
  13. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    No need to spam the forum, I see your replies.

    Can you elaborate? Did it crash your machine?

    Unity is by far the most popular engine in the world, so it's only natural it gets blamed for many hardware/software instabilities. It runs on billions of devices worldwide and in vast majority of cases it doesn't have any issues. Again, just because your computer runs other engines without problems doesn't necessarily mean the problem is within Unity. So far, the evidence doesn't point to it being Unity's fault.

    Are any of your computer components overclocked (CPU, RAM, GPU)? Did you try disabling XMP memory profile? Lots of these issues happen due to unstable overclocks.

    I could make you an instrumented build of a sample made with Unity that may contain some clues of what goes wrong IF the problem is with Unity. However, that will not be helpful if the problem is somewhere else. Let me know if you're interested in this.
     
  14. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    i have to restart my pc bc sometimes it like disables the monitor the game was on when it crashes. yes im willing to try that, and no nothing is overclocked. i dont believe anything is wrong with my gpu either.
     
  15. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    and my graphics drivers are working properly as far as windows is concerned-
     
  16. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,725
    Is the GPU overheating?
     
  17. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    nah not at all in fact every game that isnt run on Utility Engine runs fine.
     
  18. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    That sounds more and more like a software or a hardware issue. But I'll get you an instrumented build. In the mean time, please check if XMP profile is enabled in BIOS.
     
  19. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    what is that? xmp is bios?
     
  20. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    It's a form of automatic memory overclocking. It's known to cause stability issues in certain cases. The setting is called "XMP" and it's in BIOS.
     
  21. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    im sorry sir im not the most technically adept. Is BIOS a folder? where can i find this
     
  22. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,570
  23. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    Okay I have something to share. Here are the builds: https://share.unity.com/receive/?th...e=WPKkTAKMMECjlkkL1VTAu65XSm31vfjC1GmiBsLa4P0

    Instructions:

    1. Extract the 7z archive;
    2. Run TroubleshootingCrashes-normal\ToubleshootingCrashes.exe, reproduce a crash. Once it crashes, save off the player.log (Found in %LOCALAPPDATA%\..\LocalLow\DefaultCompany\ToubleshootingCrashes) and the .dmp file (player log will say where it saved the dump).
    3. Enable the "Graphics Tools" optional feature in Windows. Go to the Settings panel, under System, Apps & features, Manage optional Features, Add a feature, and then look for "Graphics Tools". Once installed, reboot.
    4. Run ToubleshootingCrashes-instrumented\ToubleshootingCrashes-Instrumented.exe. Reproduce a crash. Once it crashes, save off the player.log (Found in %LOCALAPPDATA%\..\LocalLow\DefaultCompany\ToubleshootingCrashes-Instrumented) and the .dmp file (player log will say where it saved the dump).
    5. Send me the log and dmp files from steps 2 & 4.
     
    karl_jones likes this.
  24. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    Hi sir, sorry for the late response, I was traveling to see family.
    I am trying what you recommended now and I'll let you know the results.
     
  25. caynckle

    caynckle

    Joined:
    Feb 2, 2022
    Posts:
    15
    Okay, so I installed the Graphics Tools after trying to produce a crash with the normal.exe, but that one didn't crash. I restarted my PC as instructed before trying to produce a crash on the instrumented.exe, but as the normal.exe went, it didn't produce a crash.
     
  26. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    Well that's at shame, but at least it eliminates there being some fundamental issue with Unity that causes this.

    Unfortunately, doing such debugging with live games is not really possible - they need to built it as "development build". I suggest contacting some of the developers that made these games to see if they were willing to make you development builds of the game so you could run it with "-force-d3d11-debug" command line arg and see why the game crashes.
     
  27. Rosarange

    Rosarange

    Joined:
    Feb 1, 2023
    Posts:
    1
    Same bro made an account to let you know it’s not your GPU or BIOS , I’m having same issue I just checked and got BIOS fixed because of battery issue and my GPU is well up to date … this dumb unity engine is preventing me from playing the new undisputed boxing game .