- Home /
ThirdPersonController script won't run in build
I'm using the standard ThirdPersonController script that comes with Unity, and it works fine in the editor, but when I make a build it doesn't work, the character just sits there. I can get the First Person script to work fine.
I have a character that I imported from maya. I added the ThirdPersonController script and the Animation script. When I hit play everything works fine. He runs and jumps and everything like he's supposed to. But when I make a build, none of the controls work. The idle animation plays, but I can't get him to do anything else.
Any thoughts?
Please edit your question so it includes some more details on what you did. It is a fair question, but from what you've written, I really don't know what do answer.
Answer by Tom de Jank · Feb 02, 2010 at 11:35 PM
hi, once I had the same problem. i my case it was the key bindings in the build settings. take a look there.
greetings from berlin
Answer by Colin Allen · Apr 30, 2010 at 03:26 PM
Are you sure you added a "Character Control" Component. if not when you add it it should work. or madey your speed is really slow.
Glad 2 Help!
Answer by yosss · Jun 13, 2010 at 11:17 AM
There is a unity bug , it has happened to me twice No scripts work in build , only the pre-existing ones Solutions:
1: Move around the scripts , place em all into standard assets or somewhere else and generally move around.
2:Reimport everything
3: create a new project and recreate everything
4:reinstall unity , see if custom scripts work , if they dont repeat solution 4 , if they do recreate everything (this worked for me)
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Unity Build Crashes Once Characters Touches Ground 0 Answers
First Person Controller falls through terrain in Windows build 4 Answers
Blender animation walk in unity 1 Answer
Windows Phone 8.1 Build Problem 0 Answers