Announcement

Collapse
No announcement yet.

The Win 10 Fall Creators Update broke debugging .dmp files generated by UE4. Workaround here.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    The Win 10 Fall Creators Update broke debugging .dmp files generated by UE4. Workaround here.

    A few weeks ago I noticed that I suddenly could no longer open any of the generated .dmp files in Visual Studio that are generated when the packaged game crashes. Visual Studio would say it can't find the .exe of the game, and even if you navigated to the correct path and select the exe, nothing would happen, it was impossible to make Visual Studio accept the exe as the correct one.

    I wondered for quite a while now about what I could do about that, and I heard about a few other devs that have the exact same issue, but no one had any idea how to fix it. I googled a lot, but couldn't find anything about any issue like this.

    Today luckily Llliam in the UE4 Discord saw me wondering about what the issue is, and he knew more about it. Since there are likely many more devs wondering about this, I want to document it here so that googling for the issue actually gives you some result.

    The Windows 10 Fall Creators Update broke it. No idea yet when it will be fixed, there is a workaround though:

    You need to put old versions of 3 dlls (from before the Fall Creators Update) into your binaries folder, so that they are in the same directly as your game exe. Then the game will use the old dlls instead of the ones that were modified by the Fall Creators Update, and that causes generated .dmp files to work correctly again. I'm not 100% sure about if you're allowed to ship your game with copies of microsoft dlls inside, but I found quite a few programs (avast, tortoise git, oculus runtime) that ship with a copy of DbgHelp.dll, so it's probably fine.

    The dll files that you need to copy are dbgcore.dll, dbgeng.dll, and dbgHelp.dll. All of those are inside of C:/Windows/System32. You need to use a version from before the Fall Creators Update. So just put those 3 files in your Binaries directory. I would have attached the working dlls to this post, but the forums have a file size limit of 500 kB.

    After you did that, any .dmp files that are generated now work correctly if you import them into Visual Studio.

    I really hope Epic/Microsoft quickly find a real solution for this issue so that you don't need to ship a bunch of dll files with your executable.
    Easy to use UMG Mini Map on the UE4 Marketplace.
    Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

    #2
    Any idea where I can get those 3? It's quite dangerous to download the dlls from 'DLL 4 free' like sites.

    Comment


      #3
      Any chance you could link me to the pre-fall update dlls? I am running into this myself.

      Comment


        #4
        https://anonfile.com/T3vfr8d0be/DbgDLLs.7z

        Comment


          #5
          Are there any other workarounds to this that don't involve shipping new dlls? I would like to debug dmp files that were already generated. Surely Epic has a solution for Fortnite?

          Comment


            #6
            Bumping, still an issue in November 2018 with UE 4.19.2.

            Comment


              #7
              is this an issue in 4.21?

              Comment

              Working...
              X