Why when used widget and play with server and click to play with 2 players and dedicated server, say “Blueprint Runtime Error: “Accessed None trying to read property CallFunc_Create_ReturnValue”. Blueprint: Player Function: Execute Ubergraph Player Graph: EventGraph Node: Add to Viewport” pls help me
Dedicated server cant have widgets. make sure you are not creating the widget on the server!
5 Likes
Use OnOwningClient type of replicated CustomEvent and create widget blueprint with it. Also, if you want to reach a widget’s reference variable, you need to use SwitchHasAuthority with the Remote output pin before calling the reference variable.
Add “Is valid” block and connect “player controller” block to it. works in 4.25.4
1 Like