- Home /
JS script can't recognize C# script after Unity upgrade
I upgraded to Unity 4.3.4 yesterday and now one of my scripts can't seem to recognize the 'type' of a C# script anymore. The specific script is AIFollow.cs from the AstarPathfinding project. I was using this line:
var followAI : AIFollow;
But now that results in an error:
BCE0018: The name 'AIFollow' does not denote a valid type ('not found').
The mono behavior AIFollow is still there in the AIFollow.cs script however. What's gone wrong?
Answer by Essential · Feb 02, 2014 at 06:09 PM
Ah, I'd re-installed the AstarPathfinding project folder but forgot to enable JS support. That fixed it!
Your answer
Follow this Question
Related Questions
Unity 3.0 help mee 4 Answers
Unity Free 3.5.4 Project to Unity Free 4.0.1 1 Answer
Animation component in Unity 4.3 doesn't work? 2 Answers
Unity 4.6 project upgrade 0 Answers