[4.17] Get player controller not working inside of functions
I recently upgraded to 4.17 and found that any functions I had (which were working as expected in 4.16.3 and earlier) which contained a "get player controller" function no longer work. The instances in which I was using these were for creating widgets and assigning the owning player, and I was getting the error "Unable to create the widget X, no outer provided."
Creating an input for the world context object seems to be a workaround.
asked Aug 08 '17 at 04:52 PM in Bug Reports
We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.
answered May 24 '18 at 06:37 PM
Rudy Q ♦♦ STAFF
I had the same problem. It turns out the Construct blueprint function should not be used for creating widgets. Instead use the "Create Widget" function. This will set the owning player correctly and avoid this bug.
answered May 24 '18 at 09:45 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here