Jump to content
Anton

How to prevent unchanged .meta files to be listed in Pending Changes?

Recommended Posts

How to prevent unchanged .meta files to be listed in Pending Changes?

In my preferences I has "Check content (hash) when the file timestamp is modified..." CHECKED.

And in Pending Changes options I has "Check the content to determine files are changed, not just timestamp" CHECKED too.

But meta files are still marked as changed and can be wiped out with "Undo unchached" command succefully.

What is going on?

image.thumb.png.7a78c38741575532376eefb6fc1fcd16.png

Share this post


Link to post
Share on other sites

Hey Anton,

I have been unable to reproduce (using Unity 2019.4.10f1 and Plastic Cloud Client 9.0.16.4507).

image.png

Please can you let me know more details about your environment particularly...

  • Unity version
  • Plastic client version
  • Script editor
  • Any other steps or information I may be missing

Share this post


Link to post
Share on other sites

It happens everytime. So my environment:

Unity 2020.1.2f1 (it was in 2019 too)

JetBrains Rider 2020.2 (2020.1 too) - when you edit C# file and then switch back to the Unity editor it modifies the .meta

Plastic SCM 9.0.16.4456

Share this post


Link to post
Share on other sites

Thanks for getting back to me.

After taking a closer look at your screenshot, I can see that the script and meta files are both checked out (orange symbol). They appear in the pending changes list, even if they are not modified, because you have "Show Checkouts" checked.

The only way I could produce this behaviour was by checking out a script file using the legacy Plastic SCM Unity Plugin (Project Settings > Editor > Version Control > Plastic SCM), this checked out the meta file along with the script file.

image.png

If you are interested in an Editor integrated solution, please take a look at the new plugin available on the Asset Store.

Hope this helps!

Share this post


Link to post
Share on other sites

Okay, thank you!

New plugin is not supported in 2020.1:

"This plugin is not currently supported for editor versions 2020.1 and above on Windows. We are actively working on adding support for these versions"

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...