Reloaded-Project / Reloaded-II

Universal .NET Core Powered Modding Framework for any Native Game X86, X64.
GNU General Public License v3.0
608 stars 82 forks source link

Bug: Persona 5 Royal frequently fails to launch if "AWB Emulator for File Emulation Framework" is enabled #466

Closed MaxHeat closed 1 month ago

MaxHeat commented 1 month ago

On a fresh install of Persona 5 Royal and Reloaded-II, the game will frequently fail to launch (with the process still open in Task Manager). An "Unknown Error" window appears with the actual error stating "Failed to obtain port for the Reloaded instance running inside the process".

The game will sometimes successfully launch and when it does everything seems to be working fine.

While testing I've disabled all mods and managed to find the game will fail to launch with "AWB Emulator for File Emulation Framework" being the only mod enabled.

Sewer56 commented 1 month ago

Try removing the mod; and see what happens after it auto redownloads.

MaxHeat commented 1 month ago

After removing it and the software redownloading it, the game manages to launch one time only. Any other attempt will produce the error.

I've also discovered deleting the mod and auto redownloading it before launching the game will never fail oddly enough.

Sewer56 commented 1 month ago

Consider checking antivirus logs; maybe it's getting blacklisted for some reason after first run.

MaxHeat commented 1 month ago

I've checked Windows Defender logs, sadly i couldn't find anything useful. Also tried adding Reloaded-II folder to the exclusions but it didn't change anything either.

MaxHeat commented 1 month ago

With the console enabled, this is where everything stops screenshot

I usually need to retry launching 9-10 times (without changing anything) to be able to play with mods.

Sewer56 commented 1 month ago

That's unfortunately normal for the time being (it's an Issue with FileEmulationFramework); and wouldn't be fixed for a while.

It requires a full rewrite.

Sewer56 commented 1 month ago

Closing this as 'stale', re-open this if it still affects you.