Forum Discussion
NER34
4 years agoHonored Guest
Problems with using WebBrowser plugin for Unreal Engine 4
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.
21 Replies
Replies have been turned off for this discussion
- pro_zacMeta Employee
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.
- theoneonlykid2Honored Guest
i know its been a while but this was a bug in ureal, it was supposedly fixed in 5.2 problem is Im using the oculus source branch, I was able to move over the 5.2 web browser plugin, which now renders but causes the game to crash when built. any suggestions or updates would be greatly appreciated.
- theoneonlykid2Honored Guest
This should now be fixed inside of the new 5.2.1 release
- theoneonlykid2Honored Guest
5.2 seems to have fixed this issue although not completely, I am able to load Google.com but https://ce.foamfrat.com is unable to be loaded any suggestions?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 11 months ago