Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Director Performance

Discussion in 'Scripting' started by Venominus, Feb 10, 2021.

  1. Venominus

    Venominus

    Joined:
    Sep 5, 2015
    Posts:
    21
    Director class takes 20% of CPU. When profiling prelateupdate.directorupdateanimationbegin takes 15% and other director classes 5%. Director.PrepareFrame takes 10% of whole game CPU. Where can I modify director to get better performance?
     
    DungDajHjep likes this.
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    14,593
    Never heard of Director. Is that part of Playables or something? I haven't seen any updates about that in ages. Maybe start with the playables documentation.
     
  3. Venominus

    Venominus

    Joined:
    Sep 5, 2015
    Posts:
    21
    Native engine system updated by the native player loop. It is about animation.
     
  4. Katerpilet

    Katerpilet

    Joined:
    Aug 2, 2015
    Posts:
    74
    I'm also seeing this but not uniformly across platforms. Some platforms cache this data properly, others seem to be doing significant runtime work
     
  5. DungDajHjep

    DungDajHjep

    Joined:
    Mar 25, 2015
    Posts:
    85
    Set Animator: CullCompletely will reduce half
     
  6. Katerpilet

    Katerpilet

    Joined:
    Aug 2, 2015
    Posts:
    74
    Mine has nothing to do with animators
     
unityunity