Hello, so I’ve been trying to set up git lfs on my project, the problem is that for some reason git is trying to track engine content which is outside the repository so I get a fatal error when I try to commit. So how can I prevent that?
So what you’re experiencing is that git is attempting to track engine content that’s in a completely separate directory from your repository, right? There might be a misconfiguration …
First check your .git/config
file for any unusual external paths. Run git status
to see if external files are listed. And also run git submodule
to list any submodules. The engine directory should not be listed as a submodule, if it is, you’ll need to remove it.
I have the same problem. No external paths in config, no submodules, I even disabled option to show engine content in content browser - error is still there
I am now getting the some or something similar. I see this in my editor console output.
SourceControl: fatal: D:/Unreal Engine/UE_5.4/Engine/Content/EngineSky/VolumetricClouds/m_SimpleVolumetricCloud.uasset: 'D:/Unreal Engine/UE_5.4/Engine/Content/EngineSky/VolumetricClouds/m_SimpleVolumetricCloud.uasset' is outside repository at 'D:/Projects/Unreal Projects/UnrealTest_Blueprint'
SourceControl: fatal: D:/Unreal Engine/UE_5.4/Engine/Content/EngineSky/VolumetricClouds/m_SimpleVolumetricCloud.uasset: 'D:/Unreal Engine/UE_5.4/Engine/Content/EngineSky/VolumetricClouds/m_SimpleVolumetricCloud.uasset' is outside repository at 'D:/Projects/Unreal Projects/UnrealTest_Blueprint'
I am not actually sure if this is causing an issue or not though. Note that this started happening when i upgraded from 5.3 to 5.4 … unless it was happening before and i never noticed, as it is shown in the output like its just informational.