Nefisto Posted January 1, 2021 Report Share Posted January 1, 2021 When we make changes in same scene (any change) and try to merge, plastic had started to say that had some misconfig in merge tools (as image below) So, I found this thread in forum that talk about exactly same problem: https://forum.plasticscm.com/topic/20639-unityyamlmergeexe-error-in-merge-tool/ But after follow the solution in thread I started to receive this error: Can someone help me to solve this? In my client.conf: <MergeToolData> <FileExtensions>.prefab</FileExtensions> <Tools> <string>"C:\Program Files\Unity\Hub\Editor\2019.4.17f1\Editor\Data\Tools\UnityYAMLMerge.exe" merge -p "@basefile" "@sourcefile" "@destinationfile" "@output"</string> </Tools> </MergeToolData> <MergeToolData> <FileExtensions>.unity</FileExtensions> <Tools> <string>"C:\Program Files\Unity\Hub\Editor\2019.4.17f1\Editor\Data\Tools\UnityYAMLMerge.exe" merge -p "@basefile" "@sourcefile" "@destinationfile" "@output"</string> </Tools> </MergeToolData> In merge tool pref: Link to comment Share on other sites More sharing options...
Marc S Posted January 3, 2021 Report Share Posted January 3, 2021 I'm not sure scene merging is supported. I've had it work tow years ago but I see a lot of people complaining about it. My advice is to use prefabs instead. Link to comment Share on other sites More sharing options...
calbzam Posted January 4, 2021 Report Share Posted January 4, 2021 Hi, It seems the problem is the Unity merge tool "UnityYAMLMerge.exe" is not able to handle the merge of this .unity file. Not sure if you could use a different external merge tool. Otherwise, if you use "binmergetool" (available in the merge tools list), it will allow you to keep any of the contributors during the merge but it wont' allow you to actually merge the file content of the revisions involved in the merge. Regards, Carlos. Link to comment Share on other sites More sharing options...
Nefisto Posted January 4, 2021 Author Report Share Posted January 4, 2021 But how am I supposed to handle this? This error happens when distinct objects are changed in same scene, do I need to create somekind of main scene that only some ppl can change? I rlly don't get it, because in my point of view we don't really have an "merge" in yaml, because the changed parts aren't common. Anyway, thanks for help Link to comment Share on other sites More sharing options...
calbzam Posted January 4, 2021 Report Share Posted January 4, 2021 For the binary files, don't you conside using file locks? This way, you will be sure that only one person will be modifying it and this way, avoiding the merge conflicts. https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Chapter7:Configuringexclusivecheckout(Lock) Regards, Carlos. Link to comment Share on other sites More sharing options...
Nefisto Posted January 6, 2021 Author Report Share Posted January 6, 2021 Sorry for late replay, I'll take a look at it, but only to clarify, as scenes (.unity) is an binary file, are u saying that i cannot really "merge" changes in same scene and the better option is lock file? Link to comment Share on other sites More sharing options...
calbzam Posted January 11, 2021 Report Share Posted January 11, 2021 The unity merge tool for scenes should work for most of the scenarios but according to our experience it still has some issues: https://forum.unity.com/threads/scene-merging.453901/ Quote Hi @barisalhan, Unity is actively looking into ways of making the merge process for scenes and prefabs easier. We know it's a painful process right now and we want to make it easier and more reliable for everyone. For now, most of our customers are using the lock workflow when modifying binary files (including the Unity scenes). Regards, Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now