You can try this script (I don’t have any plugins that I can test it with, but it seems to setup the file system correctly):
#!/usr/bin/perl
use v5.30;
my $doit = $ARGV[0] eq "--doit";
open my $F, "find . -type d -print|";
while ( <$F> )
{
chomp;
next unless m#Intermediate/Build/Android$#;
my $androidDir = $_;
my $arm64Dir = "$androidDir/arm64";
my $unrealGameDir = "$androidDir/UnrealGame";
next unless -d $unrealGameDir;
unless ( -d $arm64Dir )
{
say "Creating \"$arm64Dir\"";
mkdir($arm64Dir) if $doit;
}
my $newUnrealDir = "$arm64Dir/UnrealGame";
unless ( -d $newUnrealDir )
{
my $relativeLink = "../UnrealGame";
say "Linking \"$relativeLink\" to \"$newUnrealDir\"";
symlink($relativeLink, $newUnrealDir) if $doit;
}
}
close $F;
Put it in a file called fixdirs.pl, chmod to 755 and run it. It will show what it is going to do. If it looks good, you can re-run it with fixdirs.pl --doit and it will actually make the changes.