.uassets trying to load wrong /script/GameName.file after a project rename

I recently renamed a duplicated C++ project (following a bunch of steps from a bunch of tutorials to make sure I didn’t miss anything). My project compiles fine in VS now, but when I try to open it I crash at about 90% with a bunch of the following errors:

LogLinker: Warning: [AssetLog] D:\Creative\KindredGames\Workspaces\StarlightBuilders\Content\GAS\Abilities\Consumable\Potions\GE_Buff_StackableConst.uasset: Failed to load '/Script/SNMAS': Can't find file. LoadErrors: Failed to load /Script/SNMAS.RPGAttributeSet Referenced by Default__GE_Buff_Master_C

The old project name is SNMAS and the new one is StarlightBuilders.

Have I missed a step somewhere to make sure these uassets are being redirected to load files from?

Also it’s worth noting that this project is massive and nearly 5 years old now running 4.26 still due to dependency chain lengths. I know there’s a good chance that this just simply isn’t going to work, but I’m hoping it’s just a simple fix.

In case anyone else is running into this in the future I didn’t want to be THAT guy who doesn’t follow up when they figure it out.

I was using game name redirects in the defaultEngine.ini file, but I didn’t know about the core redirects.

Here’s a link to the page that solved the issue: Core Redirects | Unreal Engine 4.27 Documentation

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.