x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[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.

Product Version: UE 4.17
Tags:
more ▼

asked Aug 08 '17 at 04:52 PM in Bug Reports

avatar image

nickjborn
28 1 3 7

avatar image Rudy Q ♦♦ STAFF Aug 08 '17 at 06:12 PM

Hello nickjborn,

I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide a detailed list of steps to reproduce this issue in a clean project?

  3. Could you provide screen shots of any settings/blueprints/widgets that may be involved with this issue?

avatar image Rudy Q ♦♦ STAFF Aug 14 '17 at 06:14 PM

Hello nickjborn,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks,

avatar image ErebusWolf May 17 '18 at 12:28 AM

I am encountering this issue in UE 4.19.0 I made a clean project and am doing simple menu creation and the get owner function always returns invalid so I have to always get the player controller directly.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hello,

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.

https://epicsupport.force.com/unrealengine/s/

Thanks

more ▼

answered May 24 '18 at 06:37 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 524

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered May 24 '18 at 09:45 PM

avatar image

ErebusWolf
11 3 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question