PlayerController deleted. How do I get it back?

Hi there. Someone recently deleted the 3rd person player controller from my ue4 project. How would I get it back? I’ve already tried copying it from another project but that still didnt work. The character wont move and I dont know what to do. Can anybody help?

The file you copied probably is fine, however it is likely not to be selected as the default player controller in your project settings. It’s in maps & modes, collapsed under “Selected GameMode” - Player Controller Class. Go there and choose the player controller you copied across. Let me know if that doesn’t work.

I know how to add the player controller. But it still doesnt seem to work. I cant seem to find the player controller that already set as the default

When I create a new project to copy the player controller, Its like the player controller doesnt exist. I cant find it anywhere in the content browser

In project settings, maps & modes, default modes, selected game mode and player controller class: click on the magnifier glass and it will select automatically the player controller blueprint in the content browser.

It’s really not clear - you said “I’ve already tried copying it from another project but that still didnt work” but then you said “I cant seem to find the player controller that already set as the default” - that doesn’t make sense. Did you copy or did you not copy the player controller from another project?

Alternatively, just create a new player controller and enable it in the project setting.

Please provide more clarity on what your problem is so we can try to help.