We are having this experience and it drove our team crazy this week causing multiple hours of conflict when we realized multiple of us had the same files checked out… We are using plasticSCM cloud, the newest unreal plug-in from GitHub (1.8.0 for UE5.1), and the Gluon GUI.
Our conclusion is that the web UI to config the lock file, or the option to manually type in a list in Gluon, is completely broken. It probably does some input sanitization that breaks everything. Whether we tried writing the rules organization wide or repo specific, touching anything about the lock file rules on the dashboard.unity3d.com site will break locking altogether.
The only thing that seems to work is to remove all lock rules, then from within Gluon app only, right click on a file and select “Lock and Checkout”. If this file type is not yet known to the lock file you will get a dialog box asking if you want to add a lock file rule for this file type. Leave the first radio option selected (ex. “Lock Files matching *.umap”) and press OK. If you look at the web interface now you will see a repo specific lock ruleset.
You can continue to add file types this way (e.g. now right-click a .uasset file or a .png in Gluon and preform the same steps) building up a filetype set in your lock rules.
If you then go look at the web interface you’ll have a lock rule for the repo that looks like *.uasset *.umap *.png
. Notice the lack of commas and only “spaces.” This conflicts with the “Generate common rules” in Gluon and the web UI that show commas and spaces. Now if you try and edit this set of rules on the site using spaces, or commas and a space, between file types everything breaks.
Here’s the fun part. Delete all your rules and use the right-click method to make things work again. Click to edit the lock rules on the website, but don’t type anything new. If you open up Chrome dev tools and inspect the input element there are newline characters not spaces between asset types!
This lines up with the docs pointed to above where there is multi-line text input. But there is no multi-line text input on the website or in the Gluon UI!
TL;DR Changing lock file rules manually is busted right now. If we erase all rules from the org and the repo and only add them through the Right-click > Lock and Checkout > Lock Files matching …" option in Gluon everything seems to work.
It’s pretty embarrassing that something like this shipped. If someone just added two filetypes to the lock file via these text entry fields in Gluon or on the web and tried test it they should have noticed nothing got locked (even by yourself! cm listlocks --server=whatever@cloud
shows no locks once you try and change the lock rules). Please fix this and test your software next time.