FPSController Script Issues in Standard Assets

Hi everyone!

I am a newbie to Unity and excited to play around with this program - however I am struggling to get my feet off the ground.

I have followed a number of tutorials to get myself started and terrain building seems to be going well. I have downloaded the Standard Asset set, but I have been unable to use the FPSController - when opening my game in the game tab I am unable to move around my space. The alert which appears is “The associated script can not be loaded. Please fix any compile errors and assign a valid script”

It is strange as I have not gone into the script for any of these assets, I have re-imported the Standard Asset set twice, I have tried creating a new game and even tried downloading other character controllers but I keep on coming up with the same alert. I am unsure where to go with this, and what I am doing wrong?

I am even learning unity with a friend together, he has been able to assign a FPSController to his game and has no issues despite us following the same process.

Any help here would be much appreciated to help this noob out!

Thanks!

Hello,

Congrats and welcome to Game Development :wink:

This specific asset on the store was made for 2017.3 and then it’s possible that could have some compatibility issues with newer versions of Unity.

My recommendation is:

  • On a new project, import the “Standard Assets”, open the sample scenes and check if such scenes are working as expected on the Unity version that you have installed on your machine.
  • If the “FPSController” script is properly working on such sample scenes, check the differences between your project and how it’s being used in the sample scenes, in order to find what is wrong.
  • If in a new project you still have the error, you can try to fix the error if you feel that you can, or you can download, install the Unity 2017.3 (from here: Download Archive) and try your project there.

Happy learning!

Thanks so much!

I believe this was the problem! It’s got me moving ahead slowly with my game development!

1 Like