Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by mcbobke · Feb 21, 2017 at 02:29 PM · animatorgitversion-controlgithubversion control

When switching between PCs and using version control, why does one prefab's Animator component lose its association with a Controller?

For a school project, my teammates and I are using GitHub to host our Unity2D game. We have set the project to have Visible Meta Files and to Force Text for asset serialization. One single prefab of ours is losing its Animator's association to a Controller that is assigned to it whenever we switch to a new PC with version control. What I mean is:

  1. I will commit anything to GitHub using GitKraken when the Animator has a Controller assigned to it.

  2. I will switch to any other PC (my laptop, one of my teammates' desktops or laptops), pull the newest changes, and open the project.

  3. The prefab's Animator now no longer has an associated Controller.

If I re-associate the Controller, I can see in GitKraken that a GUID has changed. If I push that change and then switch back to the original PC, pull the change, and open the project, it is broken again. However, GitKraken does not show that the file was automatically changed by Unity, so it isn't being re-imported when I open the project after pulling the latest change.

See picture below:

alt text

It's not difficult to just re-associate the Controller every time, but it's rather annoying. Does anyone have any suggestions?

gitkraken-2017-02-21-02-02-15.png (21.0 kB)
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 Deathdefy · Feb 22, 2017 at 06:53 PM 0
Share

Simple sanity check but did you save your project? I've run into issues with svn and animations, animation controllers, clips, etc if the project isn't saved properly.

0 Replies

· Add your reply
  • Sort: 

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity Version Control - missing scene files and materials when downloading or cloning. 0 Answers

Git and Unity not working correctly: missing components, textures, materials, etc. 2 Answers

How to maintain an iOS and Android version of the same project? 1 Answer

How to fix /Library/ conflicts in GitHub repo for Unity project? 1 Answer

Import commits from Unity Collaborate to Github 0 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