Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG - Experiemental] Abiotic Factor: BPModLoaderMod crashes the game if one of my mods simply exists #646

Open
igromanru opened this issue Sep 2, 2024 · 1 comment

Comments

@igromanru
Copy link

igromanru commented Sep 2, 2024

Branch or Release
Tried with Experimental zDEV release and even build myself the latest commit 570c770 .
EDIT2: It happens with the release v3.0.1 (zDEV) as well but more random.

Game and Engine Version
Game: Abiotic Factor
Engine: 5.3.2
Game version: Hotfix 0.9.0.11307 (Steam)

Describe the bug
The crash only happens when BPModLoaderMod is enabled (BPModLoaderMod : 1 in mods.txt)
and one of my mods is in the Mods directory. (yes, just in the directory, not even enabled in any way)

All Configs and crash dumps
Here are all my configurations:
Extra Mod: MyPlayground.zip
mods.txt
UE4SS.log
UE4SS-settings.ini
crash_2024_09_02_10_57_46.zip

To Reproduce
Steps to reproduce the behavior:

  1. Install latest Experimental (zDEV) release or build from main branch
  2. Use default configs or provided by me above
  3. Boot the game up into the main menu to see that everything works
  4. Close the game and put MyPlayground mod as it is in the Mods directory
  5. Start the game and it should crash right away

Desktop (please complete the following information):

  • OS: Windows 11 Pro
@igromanru
Copy link
Author

igromanru commented Sep 22, 2024

Do you want to hear a funny thing that I just discovered? My changes in #650 somehow fixes the crash.
I've no idea why, can't find in BPModLoaderMod anything really that could cause it, beside

local function LoadModsManual()
    LoadMods(UEHelpers.GetWorld())
end

In the current UEHelpers version GetPlayerController throws an error in main menu, but LoadModsManual() should only get called through Insert key anyway.

RegisterKeyBind(Key.INS, LoadModsManual)

¯\_(ツ)_/¯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant