Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Tabu · Mar 15, 2011 at 11:00 AM · animationerror

AnimationEvent has no function name specified!

I have a strange problem that puzzels me a bit. I have made this powersupply box, that has a propeller on it. I want to animate this with only a 360 degree rotation around the y axis. So I think, no need to set up anything in Maya, just model it, and animate it in Unity, I saw a video recently, where that seemed to be pretty easy. So I go along and create a new animation, rotate it 360 degrees around the y axis, add the looped animation to the propeller.. and it works.... however, I get this annoying error message: AnimationEvent has no function name specified!

Error in file: C:\BuildAgent\work.. blablabla...\Runtime\Animation\AnimationEvent.ccp Line 135.

I get this error message every 2 seconds, anyone has a clue what I am doing wrong, or if this is a bug in unity. I could just set it up in Maya, but would like to know what I am doing wrong.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image seedoubleyou · Mar 14, 2012 at 04:18 AM 0
Share

I also want to say thanks. I tried animation inside Unity window for the first time today and was completely mystified by that error message. Thanks much!

6 Replies

· Add your reply
  • Sort: 
avatar image
13
Best Answer

Answer by Steven-Walker · Mar 15, 2011 at 05:55 PM

In the Animation window, check each of the animations you have applied to your object. The culprit is likely an animation event calling a function that does not exist. Either remove the animation event or make sure the function exists on the object.

alt text

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tabu · Mar 15, 2011 at 10:09 PM 0
Share

Thank you very much. :) After loads of wierd stuff happening (Animations stopped working, and then animations only working on colliders, but not mesh) I was in over my head, and stopped working on it... After rebooting, all problems seems to have perished? And everything is now working. Your answer however, helped me out with my original problem :)

avatar image gabriel · Mar 18, 2011 at 12:47 AM 0
Share

Hey great answer, I also had the same problem. Deleting the animation event you pointed out worked just fine for me!

avatar image sirconnorstack gabriel · Jan 10, 2014 at 01:31 AM 4
Share

This should be a comment, not an answer.

avatar image Yasantha · Feb 13, 2013 at 03:57 PM 0
Share

Helped me also thanks

avatar image Eclipsed · Sep 25, 2013 at 01:51 PM 0
Share

Helped me as well, thanks!

avatar image Dr_G · Jul 20, 2014 at 07:44 PM 0
Share

I deleted the whole animation, I couldn't find any animation events. I then remade the animation and everything worked.

avatar image
6

Answer by Artwing · Jan 27, 2015 at 07:32 AM

If you make an animation using the timeline and key frames, check the top of your timeline for little tabs that indicate you added an animation event (maybe by mistake). Right click and delete.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image inferno222 · Jan 28, 2015 at 02:14 AM 0
Share

This work for me, thank you. A little white tab as he just said :D

avatar image
1

Answer by Ziaxp · May 29, 2015 at 05:47 AM

Check this link for detailed and fantastic answer.

clipinapps

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Xipomus · Mar 02, 2014 at 10:50 PM

I couldn't find anything wrong. So in the end, I removed the animator and recreated it and imported the animations again.

The error was gone then.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by muhammad_ali_safdar · Sep 23, 2020 at 08:09 AM

In the Animation window On Top there you can add event its Look like a small white Line , When you Click on it it demanded a function , when its empty it throw Error .

Mine Problem was I Added multiple events with functions , But one add by mistake ( without function ) in same frame where already a event added .

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

AnimationEvent has no receiver, but there is no AnimationEvent 1 Answer

install Animation Riggit 0 Answers

Animation isnt playing as legacy type. 0 Answers

Can the animation editor create local rotational data? 3 Answers

Animation for weapon plays on game start instead of when i attack 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges