Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
3
Question by cregox · May 17, 2012 at 02:58 PM · version-controlmetafiles

Meta files: What is the "fileFormatVersion"?

What is its purpose and, above all, why does it change out of the blue?

It's breaking our git when changing from mac to pc (or vice-versa), but that might be beyond this question's point. When fetching from either end, it goes from 1 to 2 - and only in some apparently random meta files, not all of them get changed. Like this:

 - fileFormatVersion: 1
 + fileFormatVersion: 2
 guid: cfbadcfd53f62afc5623fbadafbc3ab56


Comment
Add comment · Show 2
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 Wolfram · Jun 14, 2012 at 12:52 PM 0
Share

Are you using identical Unity versions on both? (i.e., 3.5.2f2?)

avatar image cregox · Jun 14, 2012 at 01:35 PM 0
Share

sup again @Wolfram? :-) It's same version on both, but it's still 3.5.0b6. I don't know if 2f2 was released back then, but we couldn't upgrade yet due to bundle issues - we're still trying to figure out a good way to keep bundle consistent with releases and different unity versions.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by amacleod · Aug 24, 2012 at 07:25 PM

I have a hypothesis that `fileFormatVersion` governs to the line endings that Unity expects in a script file. (See http://stackoverflow.com/questions/1552749/difference-between-cr-lf-lf-and-cr-line-break-types for more info on CRLF versus LF).

I have not verified this with experimentation, but I am guessing that `fileFormatVersion: 1` indicates Windows files (using CRLF) and `fileFormatVersion: 2` indicates Mac files (using just LF).

Comment
Add comment · Show 2 · Share
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 cregox · Aug 24, 2012 at 08:34 PM 0
Share

I'll try to confirm that next week... If that's it, way to go with terrible na$$anonymous$$g! :P

avatar image jimver04 · Dec 21, 2016 at 10:32 AM 1
Share

For Windows it is 2 and for $$anonymous$$ac is 1. $$anonymous$$ac was developed before Windows version. There is also a linux version. Do you have any idea abou the fileformatVersion value there ?

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

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Understanding how to use Perforce with Unity 1 Answer

Meta files broken in 4.2.2? 1 Answer

Visible or hidden meta files with Git? 1 Answer

Impossible to share or version control on the free licence? 2 Answers

Latest Version Controller 1 Answer


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