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
1
Question by Dmidcap · Oct 02, 2017 at 07:18 PM · unityeditordeletedmetafiles

Unity deletes .meta files when I open the project

I'm working on a Hololens project with a co-worker, and every time I open Unity after pulling the changes from our Bitbucket repository, a bunch of .meta files associated with HoloToolKit get deleted. I'll try to list as many pertinent facts about this case as I can.

Unity Version: 2017.1.1f1 Personal

Relevant screenshots: https://imgur.com/a/lpJZm

  1. When I do a hard reset on my branch, I can open the folders in question and I see the .meta files just fine. Then I open Unity and my Source Control (currently just using Visual Studio Team Explorer) lists all the files as deleted in my changes. Same thing happened when I was using SourceTree, and if I check the files with File Explorer, they're all gone.

  2. I've tried downloading the repository fresh after the other developer pushed to a completely new local repository, no luck.

  3. I've tried adding the missing files in question back in and they automatically get deleted as soon as Unity is opened, or even if Unity is already opened, they just end up being deleted again.

  4. My Unity Editor settings are set to allow for Visible Meta files and force Text Serialization.

It's not a problem with the .gitignore file, because like I said, the files are there, both in the repository and when I pull the project from bitbucket. The project runs just fine when use the Unity Emulator. The problem is every time I push to the server, part of the changes are those .meta files are deleted, then the other developer ends up adding them back when he pushes.

Thanks for the help!

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by esaar13 · Jun 17, 2020 at 01:32 AM

@Dmidcap I know this was a long time ago, but I'm hitting the exact same issue now. Did you ever figure out a solution to this? Would be much appreciated!

Comment
Add comment · 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
0

Answer by Jsr1028 · Feb 17, 2021 at 10:03 PM

I am facing the same issue. I was wondering if anyone figured out a solution to this.,I am facing the same issue, I was wondering if you figured out a solution

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 esaar13 · Feb 17, 2021 at 11:41 PM 1
Share

I don't recall exactly how I fixed this, but I think it was some combination of deleting empty folders on my machine, and having my collaborator delete empty folders on his. Meta files often remain even in empty folders, and I think it's common for them to not be displayed in Unity so it can be hard to tell. A thorough cleanup of unused folders/files for you and collaborators might do the trick.

avatar image Jsr1028 esaar13 · Feb 18, 2021 at 08:30 PM 0
Share

Thank you! I could finally figure out the issue. While I was trying to clean up the directory, I realized the actual .obj was missing. There were only meta files. That solved it!

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

71 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 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Burst package's file have no meta file 0 Answers

Undo has an interval within which it won't be registered 0 Answers

EditorGUILayout for GUIStyle 0 Answers

CreateAsset assets failing to load on Editor restart 1 Answer

Find Asset Path From Renderer Component 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