UE4SS-RE / RE-UE4SS

Injectable LUA scripting system, SDK generator, live property editor and other dumping utilities for UE4/5 games
http://docs.ue4ss.com/
MIT License
1.37k stars 187 forks source link

[BUG - Release] Failure to load main.dll #651

Closed Xolzkatorf closed 2 months ago

Xolzkatorf commented 2 months ago

Branch or Release Release, 3.0.1

Game and Engine Version Voices of the Void, 4.27

Describe the bug Using the KismetDebuggerMod, or using the example mod MyAwesomeMod built from the UE4SS source code will cause a crash. When attempting to load the main.dll file in the DLLs folder will result in a crash. Tangentially a crash will occur if any .dll files are within the DLL folder.

Mods directory Mods.zip

To Reproduce Steps to reproduce the behavior:

Building:

  1. Following Creating a C++ mod guide to create the example mod MyAwesomeMod
  2. Then copy the mod file MyAwesomeMod.dll over to the game's mod dlls folder.

Running the client after installation:

  1. Launch game.
  2. Game Crashes

Expected behavior For the main.dll in the DLLs to not net a crash and to function as intended

Screenshots, UE4SS Log, and .dmp file UE4SS.log

Desktop (please complete the following information):

Xolzkatorf commented 2 months ago

I was able to fix it by coping with the UE4SS.dll made from building. It was a shame that literally nothing suggested that I had to copy over the built version and that the release version would not have worked.