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

Always display Can't find directory path for file error msg when I clicked some assets outside my repo #124

Open
Genius-pig opened this issue Aug 27, 2023 · 3 comments

Comments

@Genius-pig
Copy link

Here is a video to display how to repeat the bug. Choose a asset file in map.

error

LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Plugins/Interchange/Runtime/Content/gltf/MaterialInstances_MR/MI_Opaque_Unlit_TS.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Plugins/Enterprise/DatasmithContent/Content/Materials/Water/MI_Pool_01.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Plugins/Enterprise/DatasmithContent/Content/Materials/Water/MI_Pool_02.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Content/OpenWorldTemplate/LandscapeMaterial/MI_ProcGrid.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Content/VREditor/BasicMeshes/MI_Pyramid_01.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Content/EditorMeshes/Camera/MI_RailRig.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Plugins/Interchange/Runtime/Content/gltf/MaterialInstances_MR/MI_Opaque_Unlit_TS.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Plugins/Enterprise/DatasmithContent/Content/Materials/Water/MI_Pool_01.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Plugins/Enterprise/DatasmithContent/Content/Materials/Water/MI_Pool_02.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Content/OpenWorldTemplate/LandscapeMaterial/MI_ProcGrid.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Content/VREditor/BasicMeshes/MI_Pyramid_01.uasset
LogSourceControl: Error: Can't find directory path for file :D:/Softwares/Epic/UE_5.2/Engine/Content/EditorMeshes/Camera/MI_RailRig.uasset

I found this is caused by this function. the plugin subfolder is a git repo means that the plugin subfolder must be a git repo?

	/**
	 *  Modify the repo root if all selected files are in a plugin subfolder, and the plugin subfolder is a git repo
	 *  This supports the case where each plugin is a sub module
	 */
	void UpdateRepositoryRootIfSubmodule(const TArray<FString>& AbsoluteFilePaths);
@Genius-pig
Copy link
Author

Probably the same reason caused by the DoesPackageExist warning?

@ghdroid
Copy link

ghdroid commented Oct 30, 2023

I get
"LogSourceControl: Error: Can't find directory path for file :/Temp/Untitled_1"
whenever I add a new level/map. As soon as the map is saved, the errors cease. Seems related? I am using version 3.15 of the plugin.

@mastercoms
Copy link
Member

Thank you for the added context!

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

3 participants