Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert Unity Settings from binary to text

Looks like in 2017.2 version Unity changed their Settings format from binary to text. At least, projects, created with Unity 2017.2.0f3, create PlayerSettings, QualitySettings etc. in text format.

Text compared to binary increases commits quality (you can now see a normal diff).

But project, created in Unity 5.6, opened in 2017.2, still shows Settings files in binary.

Is it a fast way to convert settings files to text?

like image 562
Ted Romanus Avatar asked Dec 15 '17 16:12

Ted Romanus


Video Answer


1 Answers

I know that you used to be able to force text (things might have changed in 2017), which was especially useful for git merge conflicts. According to this blog, you can enable this by:

Edit > Project Settings > Editor menu and then under Asset Serialization Mode choose Force Text

This should make assets text only; however, I'm not sure this handles the specific setting files you were looking to convert.

The official unity documentation that covers this is here.

like image 159
code11 Avatar answered Sep 24 '22 14:09

code11