GameMode Cast Fed?
Hello! I was trying to cast to my GameMode in an user interface widget blueprint. The cast keeps failing for a reason I do not no of. If anyone can help that would be appreciated! Here is my BP:
asked Feb 18 '19 at 12:19 AM in Blueprint Scripting
theres only one reason a cast like this could fail, your current game mode does not inherit from GameModeAim class. open your project settings, then go to the maps and modes section. in maps and modes ensure your game mode is set correctly. if theres still an issue then you may have overridden the game mode elsewhere. another thing to try would be to add a print string before your cast and have the input be from the get game mode node. this will tell you the current game mode when this script is run.
answered Feb 18 '19 at 12:57 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here