Menu widget that was working fine in 4.10 is no longer working properly when game is run in standalone mode or built version. The strange thing is that this works fully in PIE. The widget is created in the pawn at begin play.
Migrating widget to another project. Does not help.
Spawning widget from another pawn, which worked partially. It shows some widget elements and but also does not show some of the blueprint actors on the level (which use widgets also).
Best solution has been not to use 4.11 since 4.10 seems to work fine. Any suggestions?
I spent an hour trying different things and I’ve tracked it down to the Media Player. I have a video playing at background of the menu and when the pawn at begin play starts playing the video.
Adding these nodes will not load the menu widget at all. Removing them + removing the Media Player variable will on the other hand allow menu to load with out the video.
With pawn having the start media nodes:
In PIE: Menu loads and video plays fine
Standalone mode: Does not load the menu at all
Packaged project: Menu loads but the video stays black
Removing the nodes and variable:
In PIE: Menu loads and video stays black
Standalone: Menu loads and video is fully transparent
Packaged project: Menu loads and video stays black
I checked the change log and I couldn’t find anything changed with Media Player that could affect this. Bug or should I set this up differently?
After running a few tests and doing some digging I was able find that this is a known issue (UE-28011) and that it has been sent 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.
Thanks! We need to get this project ready by end of the month, is it realistic to expect this to be solved in couple of weeks? Or should we just use 4.10?
There is not a current time frame in place for the implementation of a solution for this issue at this time. With this being the case I cannot give you an estimate on when this issue will be resolved.
Update 4.11.2 seems the have fixed this partially. Menus will not crash now, but the videos will not play occasionally. I have different file formats which all work in 4.10, but now they randomly do not play.
Just by reload the level over and over, some videos play and some don’t. I have yet to find any pattern here.
Again no problem with PIE, built version and standalone have the issue.
I am not quite sure what the video provided was supposed to show. Did you try the suggestion in my last comment? Could you provided an explanation of what exactly is being shown in the video and how it is not working as expected?
Sure. I did check the things you suggested. Video shows background videos not playing (just black), until I reload the level with console command “open mainmenu”.
Again the PIE works totally fine, problems are when running standalone or packaged game. I’ve tried new projects, migrating assets to new project, everything I can think of and still video playback is very unreliable in 4.11.2.
I have hard time reproducing the problem reliably. This one project I copied has the problem, but another copy doesn’t. I’ll try to reduce the assets down to the only ones that are related to the problem.
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.
Hi Rudy,
I’ve been talking with Simon and Doug from Enterprise and as soon as we get the MNDA in place I can provide you with project to test with.
Meanwhile we have tested with 4 PCs (win10 and win7) and everyone has problems playing the videos. One PC doesn’t play the videos in any case, but others will eventually play them at some point.
Only lead I have that when I have the editor open of the same project and run the build it is 95% likely that the videos will not play. When editor is closed it is 90% likely that at least one video will play.
I think the problem is that video is played before the video is loaded. I tried to hook up the play to OnMediaOpened event, but it seems that it is never called whatever I do.
I also tried the 4.12.0 but that just crashes editor directly when loading the project. Probably another issue…
I had the same issue, I found that by adding a new button with a size of x0 y0 to the widget at the top of my main vertical box containing my invisible widget content it made the content visible again.
Its not a proper solution but it worked for me, no idea why.