Jump to content

Moving or renaming "Cannot move" warning pops up


AlanMattano

Recommended Posts

I'm a Windows Plastic SCM 10.0.16.5882 user.

In Unity(2020.3.16f1LTS), when moving an Asset folder, a file or changing the name of a folder a warning pops up in console:

 

Quote

Cannot move 'Folder1' to 'Folder2' in Version Control: Selector can't locate a revision for the item (...my project path).
UnityEngine.Debug:LogWarning (object)
Unity.PlasticSCM.Editor.AssetUtils.Processor.PlasticAssetsProcessor:LogMoveException (string,string,System.Exception) (at Library/PackageCache/com.unity.collab-proxy@1.7.1/Editor/PlasticSCM/AssetsUtils/Processor/PlasticAssetsProcessor.cs:261)
Unity.PlasticSCM.Editor.AssetUtils.Processor.PlasticAssetsProcessor:MoveOnSourceControl (string,string) (at Library/PackageCache/com.unity.collab-proxy@1.7.1/Editor/PlasticSCM/AssetsUtils/Processor/PlasticAssetsProcessor.cs:111)
Unity.PlasticSCM.Editor.AssetUtils.Processor.AssetPostprocessor:OnPostprocessAllAssets (string[],string[],string[],string[]) (at Library/PackageCache/com.unity.collab-proxy@1.7.1/Editor/PlasticSCM/AssetsUtils/Processor/AssetPostprocessor.cs:18)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

 

Link to comment
Share on other sites

I'm afraid of moving assets because after doing so there are console messages as for example:

Cannot move 'Assets/Asset Usage Finder/Editor/Data/CacheManager.cs' to 'Assets/z Asset Store/Asset Usage Finder/Editor/Data/CacheManager.cs' in Version Control: Selector can't locate a revision for the item u:\UnityX\SoaringStars\NFT Racers\NTFRacer\Assets\z Asset Store\Asset Usage Finder\Editor\Data.
UnityEngine.Debug:LogWarning (object)
Unity.PlasticSCM.Editor.AssetUtils.Processor.PlasticAssetsProcessor:LogMoveException (string,string,System.Exception) (at Library/PackageCache/com.unity.collab-proxy@1.7.1/Editor/PlasticSCM/AssetsUtils/Processor/PlasticAssetsProcessor.cs:261)
Unity.PlasticSCM.Editor.AssetUtils.Processor.PlasticAssetsProcessor:MoveOnSourceControl (string,string) (at Library/PackageCache/com.unity.collab-proxy@1.7.1/Editor/PlasticSCM/AssetsUtils/Processor/PlasticAssetsProcessor.cs:111)
Unity.PlasticSCM.Editor.AssetUtils.Processor.AssetPostprocessor:OnPostprocessAllAssets (string[],string[],string[],string[]) (at Library/PackageCache/com.unity.collab-proxy@1.7.1/Editor/PlasticSCM/AssetsUtils/Processor/AssetPostprocessor.cs:18)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Link to comment
Share on other sites

Hi Alan,


I have been trying to reproduce this error, but so far, it has not been possible.


Can you confirm for me the version you are using of the version control package?


Did you install it from the asset store, or are you using the default package?


I will try this again later today.


Regards,
Rafael.
PlasticSCM/Unity Support Team

Link to comment
Share on other sites

  • 2 weeks later...
On 8/23/2021 at 10:21 AM, Rafael said:

Hi Alan,


I have been trying to reproduce this error, but so far, it has not been possible.


Regards,
Rafael.
PlasticSCM/Unity Support Team

 

You can try this:

  • Start a new project using the Karting demo in Unity 2020LTS
  • Rename the folder Karting/Scenes to Karting/_Scenes
  • Actual: a message can pop up in console
Quote

Cannot move 'Assets/Karting/Scenes/GameplayGyms' to 'Assets/Karting/_Scenes/GameplayGyms' in Version Control: Selector can't locate a revision for the item

If not, give me instructions so that I can upload a smaller version of my project.

Link to comment
Share on other sites

  • 1 month later...

I install form the asset store Asset Usage Finder. After installation, I try to move to my "Plugins" folder and a lot of warnings pops up. I do not understand the significance of it.

Full warning message:

Quote

Cannot move 'Assets/Asset Usage Finder/Editor/Data/SearchTarget.cs' to 'Assets/Plugins/Asset Usage Finder/Editor/Data/SearchTarget.cs' in Version Control: Selector can't locate a revision for the item u:\UnityX\SoaringSimulator\Components\Digital Airfoil Designer\Digital Airfoil Designer\Assets\Plugins\Asset Usage Finder\Editor\Data.
UnityEngine.Debug:LogWarning (object)
Unity.PlasticSCM.Editor.AssetUtils.Processor.PlasticAssetsProcessor:LogMoveException (string,string,System.Exception) (at Library/PackageCache/com.unity.collab-proxy@1.10.2/Editor/PlasticSCM/AssetsUtils/Processor/PlasticAssetsProcessor.cs:261)
Unity.PlasticSCM.Editor.AssetUtils.Processor.PlasticAssetsProcessor:MoveOnSourceControl (string,string) (at Library/PackageCache/com.unity.collab-proxy@1.10.2/Editor/PlasticSCM/AssetsUtils/Processor/PlasticAssetsProcessor.cs:111)
Unity.PlasticSCM.Editor.AssetUtils.Processor.AssetPostprocessor:OnPostprocessAllAssets (string[],string[],string[],string[]) (at Library/PackageCache/com.unity.collab-proxy@1.10.2/Editor/PlasticSCM/AssetsUtils/Processor/AssetPostprocessor.cs:18)
UnityEngine.GUIUtility:ProcessEvent (int,intptr)

Link to comment
Share on other sites

Hi Alan, those errors you're seeing related to the Plugins folder sound like you may be using the deprecated version of the Plastic SCM Unity Plugin. The version on the Asset Store is no longer being updated now that it has been merged into the Version Control package, which you can download from the Package Manager window in the Unity Editor.

I strongly recommend that you delete the Plastic SCM folder in your Plugins folder (since it will create compiler errors if both versions are installed in the same project), then install the Version Control package from the Package Manager. Do NOT delete your .plastic folder in your project's root folder so that the Version Control package can read from that folder to put you back in the same state you left off in without having to make any other changes. Let us know if you run into any issues with the transition process.

Link to comment
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...