Unreal Revision Control is scanning and removing non-URC files/folders from the local project directory, specifically .git and *.code-workspace. This started for us around April 2026 (within the last week). We need URC for team collaboration and large project assets, but we also need Git only for code history and readable diffs. This coexistence used to work for us before.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Unreal Revision Control
Steps to Reproduce
Open a UEFN project on Windows with Unreal Revision Control enabled.
Put a .git folder either:
in the project root, or
inside Content
Put a *.code-workspace file inside the project tree.
Use UEFN normally and perform URC actions such as Sync Latest / Check In / Push / regular status refresh.
Observe the local filesystem after URC activity.
Expected Result
URC should ignore files/folders that are not part of the URC repository and should not delete them from disk.
Observed Result
.git in the project root gets scanned by URC and later disappears from disk.
.git inside Content also gets scanned by URC and later disappears from disk.
*.code-workspace files inside the project tree also disappear from disk.
In my local test, renaming the Git metadata folder from .git to _gitrepo made it survive one URC push, which suggests there may be special-case handling around .git and possibly .code-workspace.
Platform(s)
Windows
UEFN project compatibilityVersion: 40.20
Unreal Revision Control log shows: 0.6.4-nightly+2417
URC also scans renamed Git metadata folder _gitrepo, but in this case it survived: [2026-04-18T20:33:10.415Z] ... UrcRepositoryStatusArgs { ... paths: [ .../Aor/Content/_gitrepo/config, ... ] } [2026-04-18T20:33:10.447Z] ... Ignoring invalid path, not found in repository: .../Content/_gitrepo/...
Request:
Please confirm whether this behavior is intended. If not, please treat it as a regression. URC should not remove unrelated local Git metadata or workspace files from the project directory.
With this setup, URC no longer removes Git metadata, because .git is no longer inside the project tree.
So at this point, the problem seems specifically tied to Git-related files existing inside the UEFN project directory.
This workaround is usable, but it is still only a workaround. URC should not be deleting .git, .git indirection files, or *.code-workspace files from inside the project tree.