Hello, I am losing my temper and brain trying to debug and fix my issue. I am presented an issue in my project using Unity version control and its desktop version client. I am trying to check in my changes but every time I try to some prefabs just refuse to update and display the following error:
I tried changing everything and the changes differ from Prefab to prefab but some changes just look like this (I used diff):
Of course the file can be checked in after changing the navmesh agent back to its default value but I want to make it 0 (for an example) . Some prefabs refuse to sync when I add Network Object,transform to them!
Did you switch your workspace to a different branch (with some pending to checkin changes)?
This is the most common scenario for this to happen.
I recommend you to:
Undo the changes on the specific file/s (or shelve/save the changes if you don’t want to lose them).
Switch the workspace/update to the working changeset cs:1154. This way, your local workspace files will be in sync with the loaded changeset (cs:1154).
Apply the changes in your files again and try to checkin.
Hello so I kinda found what causes the problem in the First place. Meta MRUK creates a new agent and assigns it to our prefabs and then these agents get deleted when scene exits. So thus prefabs end up with invalid null agents and Version Control doesn’t know what to make of it