Cast to PlayerController fails
This is not the first time I cast a Player Controller, but the first time I can not get it to work. I´ve read many questions here related to casting and Player Controllers, but none of them provided a solution for my problem so far.
When I click a button in my widget, I want to call a function within the Player Controller. However, the function never got called, so I searched where something goes wrong. And as it seems, I always get a valid Player Controller, but the cast somehow fails.
I tried adding a delay, as it sometimes is the solution (afaik mostly on Event Begin Play or similar), but it didn´t change anything. (Except that now I had to wait longer when testing my blueprint.)
Does anyone have an idea or even a solution to my problem?
asked Jan 06 '16 at 01:29 PM in Blueprint Scripting
did you have well changed in project settings, the player controller you wish to use? In project settings/maps & modes?
You have to have a specific game mode blueprint setted in first value I rounded, to be able to modify value below, and set your player controller BP.
Each level at his own configuration, and you have to specify for each one, the player controller you want, it use. Otherwise, it will use the internal standard player controller.
answered Jan 07 '16 at 02:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here