• 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
1
Question by colinday · Oct 01, 2015 at 10:20 PM · metafoldermetadatafoldersmetafiles

Meta files incorrectly changing contents on other machines

OK, I've now got somebody working remotely in my Unity project. We use Perforce for source control and P4Connect for the editor source control integration. Over the past month we are having issues with .meta files that have been checked in by one developer being automatically changed by Unity when they just get latest and open the project.

Both meta contents are displayed below. As you can see, the altered meta has a totally different GUID as well as a couple of additional fields. Why is Unity altering the contents of these meta files on different machines? So far I can only prove it happening with folder metas, not sure about metas for other assets ... but will certainly keep an eye out for it.

We're both running Unity 5.1.3 pro. We have both previously blown away our Library folders, but that only temporarily seemed to fix the problem. We're both running OS X 10.10.5.

We are about to upgrade to Unity 5.2.1 to see if that helps and also try the Unity perforce integration since it looks like they have fixed some perforce integration issues in 5.2 ... but this is just me grasping at straws looking for a fix, any real help from people would be appreciated.

Checked in meta (Folder meta for "Albatross Source_layers.meta"):

 fileFormatVersion: 2
 guid: 096dc13d8485448338a22a063e78d4de
 folderAsset: yes
 DefaultImporter:
   userData: 

Automatically altered meta (Folder meta for "Albatross Source_layers.meta"):

 fileFormatVersion: 2
 guid: 25d3266b137c940b28caf3892ebacbd2
 folderAsset: yes
 DefaultImporter:
   userData: 
   assetBundleName: 
   assetBundleVariant: 


Comment
Add comment · Show 3
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 CodeGize · Apr 24, 2017 at 02:48 PM 0
Share

I also have a similar issues with unity5.6.0f3

On the desktop,the meta file is

 fileFormatVersion: 2
 guid: debb6ca1e27092b47b449e4493fa7767
 timeCreated: 1474541973
 licenseType: Pro
 NativeFormatImporter:
   userData: 
   assetBundleName: 
   assetBundleVariant: 

but it is changed on alienware with the same unity5.6.0f3

 fileFormatVersion: 2
 guid: eba112a1a20d4e941bd2c9a56d9ba930
 timeCreated: 1474541973
 licenseType: Pro
 NativeFormatImporter:
   mainObjectFileID: -1
   userData: 
   assetBundleName: 
   assetBundleVariant: 

We have tried to delete the Library folder and then reopen the project,but there is no effect。

avatar image colinday CodeGize · Apr 24, 2017 at 05:03 PM 0
Share

For what's it's worth ... I made that post 1.5 years ago, and I still have this issue today with a handful of .meta files. At this point we've just learned to work around it and revert problematic files all the time :(

avatar image RussianVodka · Jul 14, 2020 at 10:55 AM 0
Share

I have the same here.

fileFormatVersion: 2
guid: db272cc43345d294b957d3003706b28f
folderAsset: yes
DefaultImporter:
  externalObjects: {}
  userData: 
  assetBundleName: 
  assetBundleVariant:

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

30 People are following this question.

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

Related Questions

can't load metadata 0 Answers

What happened to my Materials and Prefabs? 1 Answer

Why does Unity create folder/file only when I re-import the script that triggered it? 1 Answer

Unity don't save anything: MetaData class can't be loaded 0 Answers

How do i make it so the data and playerprefs and everything necessary in the game is in the exe file? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges