Widget text is a different color in game than in engine
I have a widget blueprint to show a main menu. Everything was fine until I recently added a new button in the menu to enable cheat codes. The problem started when I noticed when I changed the color of the button text, it would go back to white after I hit the compile button in the BP. I closed the BP and reopened it and that fixed that issue. However now, no matter what I have the color of the button text set to, it shows the correct color in the editor but as soon as I run the game the button text is white. I have tried clearing the Binaries folder and restarted the engine, cleared the Binaries and Intermediate folders and restarted the engine and I have cleared both Binaries and Intermediate folders and restarted my computer and the problem persists. The problem exists when I run the game from the editor, debug and shipping builds.
Here are the buttons from in the editor
And here are the buttons when I run the game. It doesnt matter if I run it in PIE, Standalone Game, release build or debug build the text is white.
Any ideas on how I can fix this issue?
asked Feb 10 '18 at 06:25 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here