- Home /
Why does the .controller file get modified when opening Unity?
Hello. In our current project, we are using the new Unity 4 Mecanim animation system. We've noticed that the .controller files are sometimes modified without us making any explicit changes to them. Sometimes the files are modified just by opening the project in Unity. This behavior is causing us some problems with version control and file sharing.
Has anyone else noticed this? Is it a bug?
Thanks.
Answer by Volantk · Mar 14, 2013 at 04:14 PM
We have the same problem and have found a possible cause.
We checked the difference between the base file and one that is changed, and it looks like Unity writes the current Unity editor version number into the header of the file (4.0.1, etc). We didn't all use the exact same version, so each time someone saved the project, the file would be edited to reflect the current version number, causing a tiny difference in the files. Example:
Other people here found a diff in another line further down in the file, namely "base layer". The diff is in the binary, so it's all garbage, but that can also be a cause.
you may be check the version control message.maybe you workspace's setting are difference
Answer by Bargle · Feb 01, 2013 at 01:21 AM
We're seeing the same issue here. It would be nice to have an answer to this one. (Not to mention, a fix)
Answer by hui xiong · Mar 26, 2013 at 07:57 AM
the .controller file can not be written again.can you help me ?
editor->project Settings->version control->mode|asset serialization. see these opitons are the same.
Your answer
Follow this Question
Related Questions
Car driving backwards with triggers 1 Answer
How would I use Mecanim to holster or draw a weapon? (C#) 1 Answer
Mecanim controler problem 0 Answers
Where are all my projects getting bad inputs from? 1 Answer
How to delete Mecanim files? 0 Answers