- Home /
UNITY 3d 3.4 doesnt understand its own script?
I have just installed unity 3d 3.4 over my previous version because the new sdk for mac needed me to do so for compatability reasons. so i did and now unity doesnt understand its own "smooth follow" or "character controller" functions. How is this possible?? how doesnt unity understand its own created script? what the hell is going on, i am due for release soon and this just set me back big time!!~!!!!Q!!!!@!!
Answer by ricardo_arango · Sep 02, 2011 at 03:01 PM
You need to use the latest versions of those scripts, included in the Editor. In the Unity 3.4 Release notes you will also find information about the javascript upgrade.
http://unity3d.com/unity/whats-new/unity-3.4#javascript-upgrade-guide
Answer by renaldogoosen · Sep 02, 2011 at 09:38 AM
Sorry for sounding rude in the previous question, just a little stressed man.. all of this was working before..
Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(325,33): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(326,33): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(327,44): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(329,33): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(330,33): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(331,44): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(337,44): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(342,41): BCE0048: Type 'Object' does not support slicing. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(343,52): BCE0019: 'CrossFade' is not a member of 'Object'. Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(346,41): BCE0048: Type 'Object' does not support slicing.
and so on.. don't want to fill the screen and this one
Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(32,9): BCE0005: Unknown identifier: 'wantedRotationAngle'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(33,9): BCE0005: Unknown identifier: 'wantedHeight'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(35,9): BCE0005: Unknown identifier: 'currentRotationAngle'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(36,9): BCE0005: Unknown identifier: 'currentHeight'. Assets/Standard Assets/Scripts/Camera Scripts/SmoothFollow.js(42,9): BCE0005: Unknown identifier: 'currentHeight'.
This all is the standard script that unity provides so you should have a refrence.. is it because im developing to the iPhone and im using standard assets scripts??
Thanks.. another question what pills should i use to slow my heart down?
please don't post additional information to the question as an answer. (in your own best interest, because otherwise it will no longer marked unanswered and less people will read it) Edit your original post or add a comment.
also, please use error-codes as tags. (I removed 'gameobject'- and 'broken'-tags because they are too unspecific to make room (5tags/question-limit))
Answer by renaldogoosen · Sep 02, 2011 at 09:54 AM
and in the smooth follow script.. thank you!!!!!!!!!
Answer by SisterKy · Sep 02, 2011 at 02:50 PM
Yes, I think it has to do with developing for the iPhone. I don't know the details or how to fix it, just found this just the other day: http://answers.unity3d.com/questions/149504/javascript-array-problem.html# Greetz, Ky.
Answer by homeros · Sep 02, 2011 at 02:53 PM
I've done a google search now and on unity forums someone suggests deleting the standart assets folder and reimporting from the package. It seems this solved some people's problem.
Your answer
Follow this Question
Related Questions
Unity 3.4 standard assets not working in iOS builds? 4 Answers
I got a major question 1 Answer
Need some help with my Gravity Gun, New to Scripting. 1 Answer
error for array functions 2 Answers