Windows supported for CEF 128.4 shipped with Unreal 5.6.1?

Hi,

We’ve been waiting desperately for the 5.6 update to get a newer version of CEF since version 90 is four years old and lacks lots of modern CSS features.

Now that we’re on 5.6, I saw that bUseExperimentalVersion is still set to false in CEF3.build.cs for Windows platforms.

I changed it to true and now the engine crashes after a few runs of FCEFBrowserApp::TickMessagePump. It seems to happen within the call to CefDoMessageLoopWork, so a crash internal to CEF.

I also noticed that before it happens lots of console windows are opened for a fraction of a second. I only managed to view the content of one of them once and it said “Invalid broker message”.

Is the new CEF version meant to be used on Windows (as the build.cs seems to suggest since it’s listed as an option albeit disabled by default)?

Do you have any guidance on how to get around this issue?

Any help would be massively appreciated!

1 Like

Update: It seems the GPU process keeps crashing as visible in cef3.log

[37552:45268:0917/123916.266:WARNING:chrome_main_delegate.cc(745)] This is Chrome version 128.0.6613.138 (not a warning)
[37552:45268:0917/123916.328:WARNING:account_consistency_mode_manager.cc(77)] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[37552:45268:0917/123942.935:WARNING:external_registry_loader_win.cc(232)] Error observing HKLM: 5
[37552:45268:0917/123942.937:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/123942.938:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/123942.938:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 1 time(s)
[37552:45268:0917/123952.725:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/123952.725:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 2 time(s)
[37552:45268:0917/123952.726:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/123953.877:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/123953.877:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/123953.877:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 3 time(s)
[37552:45268:0917/123954.726:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/123954.726:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 4 time(s)
[37552:45268:0917/123954.727:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/123956.084:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/123956.085:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/123956.086:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 5 time(s)
[37552:45268:0917/123956.851:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/123956.851:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/123956.852:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 6 time(s)
[37552:45268:0917/123957.732:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/123958.374:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/123958.375:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 7 time(s)
[37552:45268:0917/123958.376:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/124000.356:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/124001.144:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/124001.145:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 8 time(s)
[37552:45268:0917/124001.147:ERROR:network_service_instance_impl.cc(608)] Network service crashed, restarting service.
[37552:45268:0917/124001.845:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=777006
[37552:45268:0917/124001.845:WARNING:gpu_process_host.cc(1441)] The GPU process has crashed 9 time(s)
[37552:45268:0917/124001.845:FATAL:gpu_data_manager_impl_private.cc(436)] GPU process isn't usable. Goodbye.

Unfortunately I can’t debug CEF either since Unreal ships with version 128.4.13 which doesn’t exist on CEF Automated Builds , so I can’t download the matching pdbs. There they only have 128.4.12.

I managed to reproduce this issue in a new project:

  • Create a blank project
  • Add the WebBrowserWidget plugin and a dependency to the WebBrowserWidget module
  • Change bUseExperimentalVersion to true in CEF3.build.cs
  • Start the editor
  • Observe the crash after a few ticks

maybe your epicwebhelper.exe isn’t compatible with CEF 128, you should rebuild epicwebhelper