Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming a file triggers an error LogSourceControl: Error: Command 'Delete' Failed! #140

Open
sanxfxteam opened this issue Dec 28, 2023 · 3 comments

Comments

@sanxfxteam
Copy link

sanxfxteam commented Dec 28, 2023

UE 5.3.1

LogContentBrowser: Attempting asset rename: MichelleActor1 -> MichelleWalkOverWater
LogSourceControl: Error: Selected files belong to different submodules
LogFileHelpers: InternalPromptForCheckoutAndSave started...
LogSavePackage: Moving output files for package: /Game/MetaHuman/Sequences/WalkOverWater_1
LogSavePackage: Moving '../../../../../Users/laure/OneDrive/Documents/Unreal Projects/MetaHuman53/Saved/WalkOverWater_1A81751AD496FD7944ED1BCA75975E0B1.tmp' to '../../../../../Users/laure/OneDrive/Documents/Unreal Projects/MetaHuman53/Content/MetaHuman/Sequences/WalkOverWater_1.uasset'
LogSavePackage: Moving output files for package: /Game/MetaHuman/Sequences/WalkTowards_1
LogSavePackage: Moving '../../../../../Users/laure/OneDrive/Documents/Unreal Projects/MetaHuman53/Saved/WalkTowards_14C1B7D174D87BD2BA00F61A6BDAC3E17.tmp' to '../../../../../Users/laure/OneDrive/Documents/Unreal Projects/MetaHuman53/Content/MetaHuman/Sequences/WalkTowards_1.uasset'
LogSavePackage: Moving output files for package: /Game/WonderDynamics/ImportedAnimations/MichelleWalkOverWater
LogSavePackage: Moving '../../../../../Users/laure/OneDrive/Documents/Unreal Projects/MetaHuman53/Saved/MichelleWalkOverWaterD87711A14A2BDBCD3F4040829175BA38.tmp' to '../../../../../Users/laure/OneDrive/Documents/Unreal Projects/MetaHuman53/Content/WonderDynamics/ImportedAnimations/MichelleWalkOverWater.uasset'
LogFileHelpers: InternalPromptForCheckoutAndSave took 114 ms (total: 7.17 sec)
LogUObjectHash: Compacting FUObjectHashTables data took   2.09ms
LogUObjectHash: Compacting FUObjectHashTables data took   1.65ms
LogUObjectHash: Compacting FUObjectHashTables data took   0.93ms
LogSlate: Window 'Message' being destroyed
Message dialog closed, result: Ok, title: Message, text: Git command failed. Please check your connection and try again, or check the output log for more information.
LogSourceControl: Error: Command 'Delete' Failed!
LogObjectTools: Warning: SCC failed to open the selected files for deletion.

In my setup the .git folder is in the parent folder "Unreal Projects".

Any fix or way to change my setup?
Hopefully I don't have to go back to 1 Unreal Project = 1 repo.

Thanks,

@mastercoms
Copy link
Member

Hi, thanks for your report and apologies about the delay in getting back to you. It's not currently expected to move across submodules. This is a more complicated issue to solve, unfortunately. I can't make any promises about supporting this workflow, but I hope to look into it.

@sanxfxteam
Copy link
Author

sanxfxteam commented Jan 4, 2024

Hi, thanks for the response.

I don't think it's a git sub module, it's just that the unreal project is in a subfolder in a git repo.
Unreal Projects/
|-- Project1
- Project2

The .git/ folder is at "Unreal Projects" folder level not the Project folder itself.

@mastercoms
Copy link
Member

Hmm, it should be able to handle a project in a subdirectory as long as you're only interacting with that one project. I can take a look at this when I get back to working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants