- Home /
Unity ThirdPersonController script errors when switching to Android platform.
It seems that I get errors on All my ThirdPersonController scripts of BCE0019 'actions' is not a member of 'Unityngine.Component' . when I switch from PC windows to Android plaform build.
Later I discovered that the referenced script 'actions' is in quotes. All I had to do was to move all scripts from the 'Standard Assets' folder to another folder and remove the quotes from 'actions' i.e:
GetComponent('actions') is re-written as GetComponent(actions), and the errors are fixed. I don't know why quotes are required for a script in the 'Standard Assets' folder but it fixed my problem.
Your answer

Follow this Question
Related Questions
Everything working fine in Editor but in device the find object with tag throwing null exception 2 Answers
Script doesn't work after android build? 0 Answers
Speaker/earphone audio output toggle from unity c# script using "Lesser AudioSwitch" app 0 Answers
Why don't I get access to current context with wglGetCurrentContext (OpenGL) 1 Answer
How to prevent an object from instantiating inside another object? 1 Answer