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
0
Question by Hotshot10101 · Jul 31, 2012 at 08:40 PM · projectsettingssvn

Unity 3.5 SVN and ProjectSettings.asset

I have Unity set to external source control and am using SVN. Everything works fine with one exception:

The ProjectSettings/ProjectSettings.asset file changes every time I even just open the project. This causes conflicts if I don't update before opening the project.

Is there a solution to this?

Comment
Add comment · Show 1
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 Hotshot10101 · Oct 09, 2012 at 05:01 PM 0
Share

I finally got around to doing a binary diff on the files and found that there are only 2 bytes that changed near the end of the file. Seems kind of silly to do that causing SVN issues when you really don't need it (as far as I can tell).

The 2 bytes are at location 0x2e57-0x2e58. In the OSX version the bytes are 0x00 0x00 and in the Windows version they are 0x14 0x02.

Anyone have any idea why?

6 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by ScroodgeM · Aug 07, 2012 at 08:04 PM

methinks something in project changes this file...

switch Asset Serialization to "Force Text". this will let you:

  • merge changes

  • detect what exactly is changing every time you open a project

Comment
Add comment · Show 1 · 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 Hotshot10101 · Aug 07, 2012 at 08:18 PM 0
Share

I didn't realize there was a way to force binary files to be text. This is great. I much prefer text files to binary. I know there are down sides, but love the up sides so much more.

At least then I will be able to find out what is changing.

avatar image
0

Answer by captureint · Aug 07, 2012 at 08:01 PM

I would also like to know how to handle this.

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 wilco64256 · Aug 07, 2012 at 08:02 PM

On a project we're working on I just set that file (and qualitysettings.asset) to be ignored by SVN once everybody had an initial version. I'm not sure exactly why it feels the need to change so often, but that resolved all of our conflicts.

Comment
Add comment · Show 1 · 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 Hotshot10101 · Aug 07, 2012 at 08:17 PM 0
Share

I have done this kind of thing on other projects (not Unity) as well. Especially with Eclipse C/C++ projects for NIOS. They store a lot of user specific stuff in their project files, so we actually have a separate project files folder that we keep.

Not a great solution, but it would work.

avatar image
0

Answer by Hotshot10101 · Aug 07, 2012 at 08:23 PM

@Scroodge: I didn't realize there is a force text option. I always prefer text based files to binary anyway. Thank you. At least then I will know what is going on.

@wilco64256: I certainly thought about doing this and have done that on other unrelated projects that use Eclipse and C/C++. If I need to I can do that, but it just doesn't feel right to not have a file needed for a clean check out in source control. You probably know what I mean :-)

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 Hotshot10101 · Aug 07, 2012 at 08:23 PM

I am still hopeful that there is some setting somewhere that will make it so that just opening the project doesn't modify the project files.

Comment
Add comment · Show 1 · 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 ScroodgeM · Aug 07, 2012 at 08:28 PM 0
Share

just find a setting that changes. i work in some projects with a lot of different data in Assets and no ignoring anything in Project Settings. so i'm sure there's not a hard task to solve it 8) find it 8)

  • 1
  • 2
  • ›

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

9 People are following this question.

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

Related Questions

How to reset your project settings? 0 Answers

Source Control on Project Settings 0 Answers

Is there a project setting that could be breaking animations? 0 Answers

Edit > Project Settings > Input via script? 4 Answers

2d Project setup won't work on mac 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