UMG covers subitles played by PlayDialogueAtLocation
I have an actor monologue system based on the DialogueVoice / DialogueWave infrastructure.
The system works until I display fullscreen UMG window. At that point caption is hidden beneath this window. The sound always works, so only caption is invisible.
It's the same as with DrawText so I presume it's the common cause.
Is any fix planned or at least a workaround available?
Thank you! Jan
asked Jan 31 '16 at 02:55 PM in Bug Reports
So after a lot of searching and not a whole lot of finding answers. I've discovered that there is nothing you can do about this in Blueprints, sorry folks. There is however, a solution if you want to dive into cpp, and its actually a really easy change to move the location the text shows up on the screen. The file you want is SubtitleManager.cpp and is located in your engines source code directory Engine/Source/Runtime/Engine/Private/SubtitleManager.cpp
One you have this open in visual studios you want to find the DisplaySubtitle function. This function uses the canvas to draw a text item which renders directly to the players display, so it is not compatible in any way with UMG and widgets, which is why changing the TextItem.Depth won't have any effect on the draw order. Instead, the best you can hope for is to be able to move the location to somewhere you don't have any active UI elements. I'm guessing there could be a way to program this function to implement a UMG solution and expose the z order and location properties to a blueprint you could then edit, but I didn't have time to do that. Instead I had the function draw the code from the top down instead of the bottom up due to our game having a hot bar at the bottom. Below is the newly modified code (only a few small changes).
I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.
Make it a great day
answered Oct 23 '17 at 02:51 PM
Rudy Q ♦♦ STAFF
I am also having a similar issue with the dialogue system not having any options for Z order or where the draw text is to be displayed on screen. Would appreciate any advice on how to code around this limited functionality in BP.
answered Nov 14 '17 at 12:41 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here