UMG WebBrowser - failed to load

Hi,

When activating the WebBrowser plugin, create a UMG user widget, add the web browser and save
Close the editor and reopen your project.
You will received an error in loading like:

Error /Game/UI/MainMenu/Panels/Panel_Stats : Can’t find file for asset. /Script/WebBrowserWidget

as a consequence the WebBrowser is not anymore in your user widget :frowning:

I hope your can repro & fix this.

Another users are also seing this:
Forum Thread

Hello,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any of you widgets that you may be using?

So I dig further.

In clean project I can’t repro it.

In I create a blank widget in my project, the new widget will keep the Browser and my old widget won’t.

If I reference the newBP class in another BP, the browser won’t load in the new BP.

How can I track this?

Thanks,

Hello,

Would it be possible for you to zip down you project and send it do me so that I can take a closer look?

I’m sorry but I can’t share my project.

I’m trying to see what’s wrong and also asked the other user who have the issue if he found a solution, but no sucess for the moment.

It’s an error in the GetPackageLinker function, but I can’t get what’s wrong.
I bet that the plugin is not loaded when myBP is loaded to get a CDO or something like that.

Is there something that I can test?

Haven’t you got other feeback on this topics?

thanks,

I found that if I put
“LoadingPhase” : “PreDefault”,

in the plugin definition, the loading is OK.
So I bet there is a sequence in the loading where the Plug-in is not loaded is you set to Default.

It might help you to track this down.

Hello,

Could you make a copy of your project and try deleting the Saved, Intermediate, Config files, and launching to see if this makes any difference?

I try this, and it’s not working.
I still have the same behavior

I’m having the same issue. I created a new BP and added in the WebBrowser. Everytime I save then compile then close my project, then reopen, the WebBrowser widget is missing and I have to readd it.

Hello Pewbot,

I have a couple of questions for you. I have noticed a few users having this issue, however I have not been able to reproduce this issue on our end.

Quick questions:

  1. As asked above, are you able to reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. If not, could you provide the project that is experiencing this issue?

Hello Pewbot,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Hi Rudy, we are experiencing this as well. Our detailed steps are as follows:

  1. Have one person add the plug-in and make a UserWidget on an actor that uses the web browser widget.

  2. Check-in that work.

  3. Possibly relevant: upgrade to the latest hotfix version. In our case 4.12.3 to 4.12.4.

  4. have another person add the web browser widget to an existing user widget archetype.

  5. Compile and save.

  6. Close the project and reopen it.

  7. Result: The widget that was added by the initial user still works fine, but errors about cannot find file for asset /Script/WebBrowserWidget are thrown for the Web browser UserWidget that was created by the second user.

Hello Rudy,
This is rujuro’s coworker. I have a pruned repro project zipped up to 267 MB that illustrates the case rujuro describes above. We are also unable to repro this in a clean project, so it is likely related to the upgrade step, but I am not sure. Within this project is an older UI Widget blueprint that has the WebBrowser widget working correctly. Right next to that working blueprint is another UI Widget created after the latest update to 4.12.4 that will lose its freshly added WebBrowser widget every time we close the editor. Opening the editor emits the errors described in the original bug report of this thread (Can’t find file for asset. /Script/WebBrowserWidget).

I would like to send this zipped repro project to you privately. Even though our project is very early, there is still some stuff in there that I’d rather not make public. Is there an email address that I can send this zip to? I looked at your profile but saw no such link.

Hello Kain Shin,

If you would like to provide the project so that I can take a closer look, please feel free to send me a private message on the forums. You can provide a link via dropbox or google drive to a zipped folder. As a suggestion, could you try deleting your saved and intermediate files before upgrading you project and let me know if your issue still occurs?

Thank you so much for responding, Rudy. I do not see any link to send you a private message. When I look at your profile, this is what I see:

I did delete my saved and intermediate files to see if it made a difference. It did not.

Ohhhhh, I thought there was supposed to be a link on your profile. I did not realize that the interface was to go to my own control panel and type in a username for the private message. Ok, thanks for the link. I’ll send a message to you with details shortly

I have provided a link below that should take you to your forum inbox. From there you can send a private message to on the forums.

Link: https://forums.unrealengine.com/private.php?folderid=0

Hello Kain Shin,

I was able to reproduce this issue in the project provided. I have written up a report ( UE-32694) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

ah, great!
Thank you, Rudy!