I want to have web browser in game. Web browser widget works fine in the editor (using Oculus Link), but after launching it to Oculus Quest 2 web browser widget shows only black screen that i can't interact with. After 2 days of searching i have 2 possible reasons:
1. This is a plugin problem. But I think it's strange, because UE doc says that web browser plugin supports Android devices.
2. I found some information in "Oculus for developers/Develop/Oculus Developer Policies/App Policies" "Apps That Facilitate the Installation of Other Apps". Based on this information I decided that Quest 2 device forbids getting data for web browser widget. That's why it cant draw a page and always shows black screen. (Maybe I misunderstood the meaning of this section, but the main idea is the same).
So, my question is what is wrong with web browser plugin. If there is no problems with device and development rules, then can I do something to make it work. If I cant, then is there another Unreal Engine 4 plugin that allows to create web browser integrated into game.
I have seen Unity apps open in game web browsers in a few recent apps so maybe they have changed this? Hoepfully so as Im also looking to integrate the Unreal web widget in game. Hopefully it is just a bug that Epic needs to fix. The internal Oculus browser is based on same Chromium code that Unreal browser is so cant see what the issue is here.
Which app can access the web browser within game? It allows the user to navigate freely across the internet?
The web browser of epic works on preview, so I really thinks its some kind of permission of Quest.
I tested accessing a mp4 from the web and it works, so its not an internet connection issue. Same goes for a jpeg. But in these 2 cases we are accessing a specific file format, not an html file.
The oculus browser does work, but I think they revoked this permission for their own app. Its possible, but they dont allow it inside a game. At least thats what I think.
I took a look at the Web Browser Widget plugin as someone else asked for help. I'm not able to get it working on device either. In RenderDoc I can see the widget doesn't attempt to render at all.
I'm not familiar enough with the internal workings of the Slate UI system to see where it's failing, but I expect the relevant class is in Engine\Source\Runtime\WebBrowser\Private\Android\AndroidWebBrowserWidget.cpp. Would need to figure out why the texture is not created and passed along to be rendered.
As stated above, this doesn't appear to be anything Oculus specific or URL specific. The browser widget simply doesn't render. If anyone has time / knowledge to debug, please post your findings.