Im working on a build of the shooter game, and had a simple text render in the world. “Press “E” to use” or something, works great in editor, and in earlier builds i made, but this is the result after I build and run the game now…
I have not changed any code or font content since the last build where the text was working, added a map, and a few blueprints, thats it. Whats going on!?!?!? What can cause this??
You have to copy the text files your using over from the “Engine” folder to the “Game” Folder. This includes them in the build path. It fixed ours, hope it works for you.
Thank you for your interest (: I’m sorry, I didn’t understand that you meant in-editor folders, rather than Build folder’s subfolders.
Yes, I have already copied the default font from the Engine folder to my Game folder, and I have been playing with that copy. It didn’t work that way either.
the best I have achieved is a fallback to default system font, when displaying text with HUD->DisplayText http://screenshooter.net/4912384/khohbrh
I’ve been trying the basic RoboDistanceField with DetaultTextMaterialOpaque (which I have also copied to my Game folder), and … Stegoe I think (I’ll check in a few hours).
Shall I try with something more basic (Arial)?
Try turning off “Show Engine Options”, then create a new text render actor and use the base information. Does this show up still? I have stumbled upon a potentially similar error in which, with show engine folders on other fonts do not render properly, I am going to keep trying to reproduce this on my end.
I suppose you mean “Show Engine Folders” (:
I’ve created a new Text Renderer Actor with Engine folder hidden, using RoboDistanceField font. As basic as it gets. No luck.
It displays nicely in editor, changes into ‘square square square square’ in the packaged build.
The .exe’s fron ‘Binaries’ folder in the project are working fine, though.
We have not heard from you in quite some time. I am marking this thread as answered for tracking purposes. If you are still experiencing these issues, please comment with the requested information. Thank you!
Thanks for your reply! I will try and build a clean project, but it seems to be localized to my modified shootergame project, as it has the same problem if I build that project on a different machine with a fresh UE4 install
Hi, Thanks for your replies! I appologize I haven’t had time to follow up on this yet, but I will explore the suggestions in this thread and reply with my results very soon.
I seem to be using RobotDistanecField from the EngineFonts folder, i based my blueprint on one of the blueprint office example blueprints, using the part for rendering text when the player is near.
If i copy that blueprint to a fresh fps (c++) project, or rather just use the same add textrendercomponent node , i need to change text material to M_UnlitText_01 since it is the only one to pick. the result is that the text shows up as normal in the editor, but when I build (32bit win shipping) and run, the text wont show up at all this time. hmm im confused. I will try some things…
Okay, I think it is solved now. I dont know why it worked before, but it seems to not include the content from the Engine folder anymore, so if i copy EngineFonts to the Game folder, and redirect the blueprint node to the copied font/material files, it also works fine ingame after shipping build.
What worked for me was to make sure that font and material files where copied from Engine folder to a folder under the Game folder, and then make sure to redirect the blueprint nodes to the new files, or it will try to access the wrong path and return null, this is what worked in my case!