Only "local" player controllers can be assigned to widgets. Which can be "global" ones? (4.27)

I get this error message after nearly all debugger launches. No pointing to place where it has occurred, completely no info about what does this mean. Is it possible to somehow fix this error? Or at least clarify its source?

Show your code too!!

What means “tool”? I have very much blueprints (but NOT code) in my project and I completely cannot say where the error occurs. What do I have to show?

too=olso

I think you have a blueprint derived from widget class and you are trying to reparent it to a derived player controller class.

Or you are creating a widget and you are injecting the wrong player controller as a parameter.

But it is easier to know what the error is if i can to see the code or the blueprint.

So open MyPlayerController blueprint and let us to see what did you do in there.

Sorry, I misread exclamation mark as small “L”.
Sorry again, I have the UE now crashed and I have already to go away from computer. I will return and try to understand this in 8-10 hours.

1 Like

In any case, a tool is a useful artifact to do some type of work… like a screwdriver. :slight_smile:

Ok try tomorrow!! good night!!

Here are all blueprint functions related to widgets in MyPlayerController. Which of them can lead to problems?













1 Like

Ok… You are creating many many Widgets there, you need pass as parameter “Owning Player”.… it is the player controller… So if all this code is inside of MyPlayerController blueprint you must connect in that pin The “Self” parameter.

10

Be sure your MyPlayerController Blueprint has a Player Controller parent Class

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.