Can I use Source Control plugin with projects in Symlink'ed directories?

Hey there! Long time stalker, first time poster.

I currently am on a machine with a 256 GB Fast SSD and 1 TB Slow HDD. I work on multiple projects at the same time.

I have built a glorious bash script, it will copy a project from my slow HDD → my fast SSD, then create a windows Symlink ( using Junctions now but have tried with Symlink Directory as well with same result ). This allows me to move a project to and from the SSD without re-setting up / moving my Perforce workspace when I move between them.

What works: Pretty much everything, Unreal Editor is fine with the symlink’ed files, perforce is fine with the symlinked files.

The one thing I can’t get to work: The SouceControl / Perforce plugin within Unreal. Whenever it connects, I get the following errors:

SourceControl: Error: Workspace ‘quickstart_demo_twr’ does not map into this project’s directory.

SourceControl: Error: You should set your workspace up to map to a directory at or above the project’s directory.

Now, I know it is kinda technically right: the workspace directory has been moved. But I feel with the correct combination of absolute and relative file pathing, we can get this to work. Just not sure if I can finesse it on the side of my scripts or if we need to somehow tweak the Unreal Engine Perforce Source Control plug in.

Hoping someone might have had experience with something similar? I feel this is something that might be worth the extra effort for UE to formally support due to the expense of fast SSDs. This is a fairly common thing in game dev and even for games! ( See “SteamTool” junctioning software ).

Any help would be appreciated. Thanks!