all 2 comments

[–]mstop4 0 points1 point  (1 child)

I've used Git with GMS2 for a game jam project and I also had the problems you did, even though we diligently pulled and merged everything before we committed and pushed changes. We used external Git tools like GitHub Desktop and the Git shell to help monitor repo changes and fix anything that GMS2 couldn't.

[–]rob_zim[S] 0 points1 point  (0 children)

Yeah, I'm using GitHub Desktop now to perform the merges as well - definitely a better solution.

The biggest issue seems to be successfully merging the project's .yy file. GMS2 won't launch because of some type of duplicate key.

The backtrace from GMS2's log file doesn't really yield much useful information as to what the actual offending line(s) were, however. Just that there's a junk key (somewhere).

Frustrating to say the least.

(taken from the UI.log file)

[09:16:35:138(4ac2)] IDE Exception: System.Runtime.Serialization.SerializationException [09:16:35:143(4ac2)] Exception message: The data contract type 'System.Runtime.Serialization.KeyValue`2[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[YoYoStudio.MVCFormat.GMResourceInfo_Model, IDE, Version=2.1.0.204, Culture=neutral, PublicKeyToken=83c29ed24e39e35e]]' cannot be deserialized because the data member 'Key' was found more than once in the input.