Why i get this?


Even I include “GameFramework/PlayerController.h” I got this error!?

Is the code failing to compile? If it does build successfully, sometimes restarting studio helps here.

1 Like

You’re using the wrong function. GetFirstPlayerController() is the one you want not GetFirstLocalPlayerFromController()

1 Like

Thanks

You’re using the wrong function. GetFirstPlayerController() is the one you want not GetFirstLocalPlayerFromController()

yes it was the problem :point_up_2:

1 Like

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

Privacy & Terms