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:
-
I download the latest version 3202 of Windows 64-bit Builds, and replaced the binary and source file in ue4.18.
-
I compiled the libcef_dll_wrapper.lib and replaced the origin one.
-
Change CEF3.build.cs version to the new version.
-
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.