Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[URGENT] legacy animation events won't create on another machine

Discussion in 'Editor & General Support' started by Daylightsburning, Sep 19, 2014.

  1. Daylightsburning

    Daylightsburning

    Joined:
    Oct 24, 2013
    Posts:
    15
    Hi everyone,

    Here is the problem : i created an asset import script to add events (AnimationUtility.SetAnimationEvents) to fbx models, this works fine on my own machine - just re-import the model and all the events are added perfectly. but those events disappear on co-worker's machine when they happily update those models via svn - unless they re-import the model too. i checked the .meta files and found that the 'events' segments are always empty no matter how many times i re-import the fbx, and confirmed the events are added successfully, so i guess the events info. are not stored in the .meta file (animation clip info. are stored in .meta) but somewhere in the Library folder. if this is true how is it possible for my coworkers to update their models with events added? its really bad idea to manually re-import those models again because people forgets!

    Are there other ways to make it work as expected? or am i using AnimationUtility.SetAnimationEvents incorrectly?

    By the way, is it really so hard to add an query interface to check how many animation events are added to the current clip, i just don't get it!

    Thank you.
     
unityunity