# WebBrowser JavaScript and Unreal Engine communication issue

**URL:** <https://forums.unrealengine.com/t/webbrowser-javascript-and-unreal-engine-communication-issue/1371093>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, web-browser\
**Created:** [November 7, 2023, 4:00pm UTC](https://forums.unrealengine.com/t/webbrowser-javascript-and-unreal-engine-communication-issue/1371093 "2023-11-07T16:00:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.goedde](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@j.goedde](https://forums.unrealengine.com/u/j.goedde)\
**Post date:** [November 7, 2023, 4:00pm UTC](https://forums.unrealengine.com/t/webbrowser-javascript-and-unreal-engine-communication-issue/1371093/1 "2023-11-07T16:00:13Z")

</div>

Hi, I am encountering a problem where I can successfully inject javascript via ExecuteJavascript on the WebBrowser WebView. In the game preview under Windows I also get all console.logs (via On Console Message Event) but as soon as I package the Game into an .apk and run it on oculus quest 2 (android) the On Console Message Event is not fired. The JavaScript altough runs, as I can see in the logs via logcat.

Anyone here that has encountered this already?

Platforms - Android:

- Minimum SDK Version: 29
- Target SDK Version: 29

Platforms - Android SDK:

- SDK API Level: matchndk
- NDK API LEVEL: android-29

---

<div class="post-metadata">

**Author:** ![DevAteeque](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devateeque/32/742840_2.png) [@DevAteeque](https://forums.unrealengine.com/u/DevAteeque)\
**Post date:** [September 9, 2026, 5:36am UTC](https://forums.unrealengine.com/t/webbrowser-javascript-and-unreal-engine-communication-issue/1371093/2 "2026-09-09T05:36:38Z")

</div>

If anyone is still encountering this on standalone Quest, an explicit JavaScript message bridge is another approach for sending page events back to Unreal.

I developed Meta Quest 3D WebView, a paid plugin for Unreal. It exposes `window.quest3d.postMessage(...)` on the page and an `OnJavaScriptMessage` event in Blueprint, so communication doesn’t depend on receiving console messages.

This uses a separate browser component and would require integration into your project. I’ve included a demonstration running on Quest on the [Fab listing](https://www.fab.com/listings/562ac186-eead-42c9-9fc0-4c99581bd5b3).

> **[Meta Quest 3D WebView (Virtual Reality)](https://www.fab.com/listings/562ac186-eead-42c9-9fc0-4c99581bd5b3)**
>
> Meta Quest 3D WebViewNative 3D Web Surface & Video Pipeline for Meta Quest VR in Unreal Engine 5.3 – 5.8+Meta Quest 3D WebView is a high-performance web integration plugin engineered specifically for Unreal Engine VR developers. It allows you to...
