Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
13
Question by Flyclops · Apr 19, 2013 at 04:49 PM · gitversion control

Unity and git - issue with constantly modified prefabs and scenes

We have been using git with Unity fairly successfully, but there is one annoying behavior we can't seem to fix. Unity constantly modifies .scene and .prefab files even when no changes are made. Whenever Unity is opened or focused, it will modify several files even if we haven't made changes or even opened the scene. We can commit the changes and Unity will modify them again. We end up having to constantly discard the changes otherwise we get merge conflicts - again even when neither of the committers have made any actual changes.

We have meta files and force text enabled. We have a good .gitignore. And we don't attempt to merge these files normally in our git workflow.

Does anybody have any advice about this?

Comment
Add comment · Show 4
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 Olivier-Tache · Sep 23, 2016 at 11:30 AM 2
Share

$$anonymous$$ore than 3 years later, I have the same issue which does not seen to be documented anywhere. Have you found a solution ?

avatar image ErayT Olivier-Tache · Nov 23, 2017 at 01:55 PM 0
Share

Year 2017, same here...

avatar image Dray Olivier-Tache · Nov 23, 2017 at 03:01 PM 0
Share

This sounds like some line-endings kind of issue, are you guys developing on different platforms? Or maybe unity changes the permissions on those scene and prefab files? If it's that you can tell git to ignore permission changes. That's the first two things that come to my $$anonymous$$d

avatar image Bonfire-Boy · Dec 01, 2017 at 04:17 PM 1
Share

What kind of changes is it making? What do the diffs look like?

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

16 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

Related Questions

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

Build platform doesn't stick when using VCS (Git) 2 Answers

Can't drag and drop prefabs made by other people on my team (Git/Git LFS) 0 Answers

Is it safe to share .meta files of scripts across multiple projects? 1 Answer

.gitignore not ignoring Library. What's the correct way to do it? 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