Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Scene appears to be "Locked remote by (me)", yet I didn't lock it and nobody else can't change it.

Discussion in 'Unity Version Control' started by Caparrini, Mar 29, 2023.

  1. Caparrini

    Caparrini

    Joined:
    Jun 21, 2017
    Posts:
    51
    In my project multiple files seem to have been locked by "me", yet it behaves as if they have been locked by somebody else. I have no control to unlock them nor do I have any changes pending on them. The team is effectively locked out of making any changes to those files.

    Also, when trying to check-in something (unrelated to those files) it displays an error saying: "An existing checkout operation has locked the workspace 'X'. Please wait for the checkout operation to finish.". And after pressing "Close" sometimes it does the check-in and sometimes it doesn't.

    I'm using 2022.2.11 and the packet version of "Version Control" is 2.0.1
     
    Last edited: Mar 29, 2023
  2. DeadMoneyDev

    DeadMoneyDev

    Joined:
    Mar 29, 2023
    Posts:
    1
    I've noticed sometimes locks persist past a check-in. It's probably a bug. You can use the command line to clear locks:

    (base) PS C:\Users\slaan> cm listlocks
    4689d99d-b91c-4c10-a0e9-27d19a29c61b blake@deadmoney.gg typing-game /TypingGame/Content/Characters/Enemies/Zombie_Crow/CH_AI_Zombie_Crow.uasset
    (base) PS C:\Users\slaan>cm lock unlock 4689d99d-b91c-4c10-a0e9-27d19a29c61b
     
  3. Caparrini

    Caparrini

    Joined:
    Jun 21, 2017
    Posts:
    51
    I was able to fix the locks with that. Thanks a lot!