Forum rules - please read before posting.

Issue with Animation controller after Update to AC 1.53 and Unity to 5.4.0f3

edited August 2016 in Technical Q&A
Hi Chris,
something happens after udating AC to version 1.53. Today I finished two new firefighter models and set them into my scene to have a test. I gave them a simple idle animation, which I did with some other models in the same way before. But now I got this error message seen in my screenshot.
Could you please have a look. I have no idea what to do now.
I'm running Unity 5.4.0f3 which I have updated today also. I found some big changes into Unity  ;-( .
Regards Bernd


image

Comments

  • It's not clear from your description if this was working with a previous version(s) of AC/Unity or not.  The error message itself is coming from Unity, and is occuring when AC attempts to manipulate the "Move speed float" parameter in the character's Animator component.

    If you've assigned an Animator that has such a parameter (and it's defined in the Player/NPC Inspector), then it could be an issue with Unity - and you may be better off searching the Unity forums for an answer.
  • Yes in the previous version(s) of AC/Unity all was fine !!!
  • edited August 2016
    He said it's not clear, because you mentioned in your post that the 3D models are new... I'd also ask you if you have tested the issue with your older models, but I've encountered this bug in the past too. Except it was in some UI animation's I had (from an asset store asset I downloaded). Still, I'm almost positive it's a Unity issue. By what I've heard this often has to do with the code which drives the character (or controls the animations in an object). It happens when the script references the Animator component on the prefab, not the Animator component on the instance. I've also heard it may happen if your animations are too short (like 1 frame long). Or if there are no animations in the slots (can happen if you forget to apply changes in a prefab...).

    By any chance are you using a custom/third party character controller? If not, just in case make sure to make the NPCs/Players using the AC wizards. Also make sure there aren't any problems or incompatibilities with your animations and models. Also make sure the animaions.

    Edit: if you want to know more here's a unity forum page about the issue.
  • I found out, that the animations I had downloaded from the asset store, doesn't work in that case. Now I'm using the standard animation from standard asset and it works fine again. Don't knew what's going on here :-( . 
    By the way I will tell you, that Unity supports now Retina (I'm a Mac User) and changes the standard shader. Unity now decreases the frame rate on my system massively when I didn't change the quality settings. I'm not very happy and have to test what I have to do.
    Thank you for your help!
  • Strange.  If the animations can play in an Animator component, they should also play fine in AC.  I would recommend checking that they work on their own (without AC) - if you can get them working that way, it may be more clear what's wrong when plugging them into AC.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.