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
2
Question by afreedm1 · Feb 19, 2013 at 11:35 PM · bugfilesgitproject settingsversion control

Why is ProjectSettings.asset unexpectedly modified?

We are using Unity 4 with Git for version control. We have noticed that sometimes when we save a scene, ProjectSettings/ProjectSettings.asset is modified unexpectedly. We are not actually changing any project settings, just saving a scene that has been modified. This behavior introduces potential merge conflicts in Git because this one file is modified even when team members are working on different scenes. We often have to checkout ProjectSettings.asset from our local repositories in order undo the changes and avoid the merge conflict.

Has anyone else experienced this behavior? Is this behavior expected? Is it a bug? Should we be including ProjectSettings in version control? It seems that important information is stored in some of the .asset files in this directory.

Thanks for any 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
1

Answer by lh · Jun 25, 2013 at 05:01 AM

If everyone's using the same Unity version with the same settings (and those settings files are committed), the modification should stop once the newest version is committed. If you're using Unity 4, you can turn on asset serialization=text and look at what's changing each time. This will also reduce conflicts, in case the changes are actually necessary.

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 NoTuxNoBux · Feb 25, 2021 at 06:33 PM

Sorry for bumping an old thread, but this still appears to be an issue in at least Unity 2019.4.18f1. I'm the only person working on the project, the Unity versions has never changed, and I have it set to text serialization, but this file is still modified every so often.

What appears to be modified each time are the preloadedAssets, they keep changing from an empty array:

preloadedAssets: []

... to an array of two items:

 preloadedAssets:
  - {fileID: 3544322769410698091, guid: 3a92a09800e95b44b9c6c6aae3faaa72, type: 2}
  - {fileID: 8985140560771674467, guid: dc0cc7f0011ee6f439796b63cd5ea446, type: 2}

... and back again later on. It could be that this happens during UWP IL2CPP builds, but I'm not sure yet.

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

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

11 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

Related Questions

Unity and git - issue with constantly modified prefabs and scenes 0 Answers

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

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

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

Edit->Project Settings->Editor Perforce Greyed Out 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