UWebBrowser::LoadURL not work

a similar question: Web browser LoadURL - UI - Unreal Engine Forums

WebBrowser widget only show the content of InitialURL, LoadURL do nothing at all

Hey windywang,

We don’t have this issue on our end. We are able to both pass in a string as a URL, such as from a input box, as well as type a URL into the box and both work.

Also, as a reminder, this feature is still experimental. This means that it is a portion of the engine that is in active development and therefor can have issues.

Thank you for submitting a bug report, however at this time we believe that the issue you are describing is not actually a bug with the Unreal Engine, and so we are not able to take any further action on this. If you still believe this may be a bug, please provide steps for us to reproduce the issue, and we will continue our investigation.

I tested again, and found this issue only appears in a actor’s WidgetComponent, but it works in a screen HUD.

  1. create a Widget Blueprint, add a WebBrowser in the Canvas Panel
  2. set the InitialURL of WebBrowser to “about:blank”
  3. create an Actor Blueprint, add a Widget component
  4. set the WidgetClass of Widget component to the Widget Blueprint above
  5. in the BeginPlay of the actor, call LoadURL(“https://www.unrealengine.com”) of WebBrowser
  6. place the actor in the level
  7. play the game, the actor with web browser shows a white page

this bug still exist in 4.13

Hey windywang,

I followed your steps and the issue with our setup is that it tries to load https://www.unrealengine.com before the widget is done loading.

To fix this, follow this from the Actor class:

is there a “done loading” event?

There is not.