Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

How play baked animation in Prefab

Discussion in 'Prefabs' started by leoniddeutschmail, Jul 9, 2022.

  1. leoniddeutschmail

    leoniddeutschmail

    Joined:
    Aug 14, 2021
    Posts:
    1
    Hi!

    In 3Ds Max 10 I made model and added animation.
    After this, I exported my model with animation as FBX into Unity.

    In inspector I can see and play my animation, then I add me prefab to scene.


    But I can't play my animation programmatically:
    Mu prefab doesn't have Animator component, and if I add it manually, I can't get Animator component in the scxript - it always null.

    upload_2022-7-9_15-10-38.png

    So I don't know, how can I play baked animation from prefab?

    Thank you