Animation Event - "Function not supported"

I'm using Unity's Animation Editor to activate events based on the time of an animation. However, for every script that I try to add to the Event, there is a "(Function not supported)" next to it. The event still seems to fire, but I was wondering what this meant, and is there a way to make it go away?

more ▼

asked Jun 14, 2010 at 02:23 AM

avatar image

29 4 5 9

If it doesnt effect on your game, let it be. Incase you notice things working oddly Then try to make it go away.

Jul 03, 2010 at 12:23 PM TaigaStudios
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

I have the same problem and I found that the functions in first script on the object seem to be supported but when you try to call functions from any script after that it gives you the "(Function not supported)" message.

But as TaigaStudios said, if it doesn't effect your game you should be fine.

more ▼

answered Sep 16, 2011 at 02:03 AM

avatar image


(comments are locked)
10|3000 characters needed characters left

you need to pass the function name as string at the beggining , here is my test script & it works with me :

 #pragma strict
 function Update () {
     var dodoEvent = new AnimationEvent();
     dodoEvent.functionName = "dodo";
     if (Input.GetKeyDown(KeyCode.UpArrow)){
         //Debug.Log ("the button pressed");
 function dodo(){
     Debug.Log (System.DateTime.Now.Second);
more ▼

answered Oct 30, 2012 at 07:22 AM

avatar image

1 1

i added a debug.Log jut to test at the begginging; sorry if the psot wwas old, but i posted the answer to anyone want to use the same thing later;


Oct 30, 2012 at 06:43 AM mamoniem

I Known !Thank You! I had one bad custom,writ code!

Mar 07, 2013 at 12:23 PM gaojinjing
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Jun 14, 2010 at 02:23 AM

Seen: 6158 times

Last Updated: Mar 07, 2013 at 12:23 PM