How to update CEF3 to latest version(3202)?

Hi, all.
My purpose is to use webbrowser to display PDF and WebGL. UE4.17’s webbrowser can load PDF file but display
not well, and WebGL not work. UE4.18’s webbrowser can display pdf, but WebGL not work too. So I wan’t try to update CEF3 to newest version 3202 build.
ps. I enabled CEF3’s plugin:

*BrowserSettings.plugins = STATE_ENABLED;
BrowserSettings.webgl = STATE_ENABLED;*

Here is my step:

  1. I download the latest version 3202 of Windows 64-bit Builds, and replaced the binary and source file in ue4.18.

  2. I compiled the libcef_dll_wrapper.lib and replaced the origin one.

  3. Change CEF3.build.cs version to the new version.

  4. Compile UE4, there will be some errors, and I fixed it, finally it compiled successfully.
    When I add a webbrowser widget, and play the level, UE4 crashed. Here is the log:

    [2017.10.26-05.04.05:173][462]LogWindows: Error: === Critical error: ===
    [2017.10.26-05.04.05:173][462]LogWindows: Error:
    [2017.10.26-05.04.05:173][462]LogWindows: Error: Fatal error!
    [2017.10.26-05.04.05:173][462]LogWindows: Error:
    [2017.10.26-05.04.05:173][462]LogWindows: Error: Unhandled Exception: 0x80000003
    [2017.10.26-05.04.05:173][462]LogWindows: Error:
    [2017.10.26-05.04.05:174][462]LogWindows: Error: [Callstack] 0x00000000A73D2A9E libcef.dll!UnknownFunction []
    [2017.10.26-05.04.05:174][462]LogWindows: Error: [Callstack] 0x00000000A8C2051E libcef.dll!UnknownFunction []
    [2017.10.26-05.04.05:174][462]LogWindows: Error: [Callstack] 0x00000000A93EC9FD libcef.dll!UnknownFunction []
    [2017.10.26-05.04.05:174][462]LogWindows: Error: [Callstack] 0x00000000A8C3A05D libcef.dll!UnknownFunction []
    [2017.10.26-05.04.05:174][462]LogWindows: Error: [Callstack] 0x00000000A8C39A69 libcef.dll!UnknownFunction []
    [2017.10.26-05.04.05:174][462]LogWindows: Error: [Callstack] 0x00000000A7FFE3FD libcef.dll!UnknownFunction []
    [2017.10.26-05.04.05:174][462]LogWindows: Error: [Callstack] 0x00000000BA668CB8 UE4Editor-WebBrowser.dll!CefInitialize()

seems CEF3 init failed!

Any suggestions I’m appreciated it.

Thanks.

were you able to update it?

Do you solved? I also need to upgrade my CEF3

yup. but its crashing.
for sure it requires some c++ coding to modify.

any new progress?

bump for 2021, looking to do the same thing and upgrade CEF3 to a newer version

You can try going to CEF Automated Builds and downloading your CEF version’s debug symbol and placing that libcef.dll.pdb next to your libcef.dll. For me it was under UnrealEngine/Engine/Binaries/ThirdParty/CEF3/.
You can also try looking at the logs
My problem ended up being that I was missing .pak files under my Resources\ folder and my Resources\locale folder. So I put a breakpoint at CefInitialize(mainArgs, settings,…) and paid special attention to where my resources and locale paths pointed to. After that, I copied the .pak files from my CEF binary distribution’s Resource folder into the appropriate places and it worked. It’s weird that in the Unreal codebase, they don’t have the Resources folder under the CEF3 binary folder. I wonder where they load them from.