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.36k stars 185 forks source link

[BUG - release] Palworld UE4SS mods not working after new (0.3.5) update #614

Closed Bricktobot closed 3 months ago

Bricktobot commented 3 months ago

Branch or Release 3.0.1 2.5.1

Game and Engine Version Palworld, 5.1

Describe the bug When I launch the game the console tries to load my mods(?) 60 times. Each time the same error is spit out:

Fatal Error: AOB scans could not be completed because of the following reasons: Was unable to find AOB for 'FName::ToString' via Lua script

the game then launches, but some of my mods do not work, most notably, the "Carry weight increase" ("vuxWeightRemove" in files) mod does not work.

Mods directory

Mods.zip

To Reproduce

  1. Launch game
  2. Attempt UHT Dump
  3. See error in console

Expected behavior

game launches, all mods in mods folder does not work (.pak mods not related to UE4SS, supported officially in game work)

Screenshots, UE4SS Log, and .dmp file

image image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Buckminsterfullerene02 commented 3 months ago

Do you have any files inside of your Binaries/Win64/UE4SS_Signatures folder that do not end with .example? Maybe one called FName_ToString.lua?

UE4SS commented 3 months ago

You appear to be using a very old version of UE4SS, please update to 3.0.1 or one of the experimental versions. EDIT: And try removing your custom UE4SS_Signatures files to see if that helps.

Bricktobot commented 3 months ago

You appear to be using a very old version of UE4SS, please update to 3.0.1 or one of the experimental versions. EDIT: And try removing your custom UE4SS_Signatures files to see if that helps.

updated it, removed any non-default mods, pak based mods, and signatures. now the game just crashes on startup, I have tried uninstalling it and reinstalling it, along with installing it on a different drive, nothing has stopped the crashes. When I have the time, I'll install it on a local user, and see if that works.

Okaetsu commented 3 months ago

updated it, removed any non-default mods, pak based mods, and signatures. now the game just crashes on startup, I have tried uninstalling it and reinstalling it, along with installing it on a different drive, nothing has stopped the crashes. When I have the time, I'll install it on a local user, and see if that works.

Need the actual crash report, but you most likely forgot to delete xinput1_3.dll after updating to a newer version of UE4SS. xinput1_3.dll is a leftover from the 2.5.1 version that you had installed and will cause conflicts like crashing with the newer 3.0.0+ version.

xinput1_3.dll can be found in the same folder where UE4SS.dll is located.

zerix807 commented 3 months ago

Just installed UE4SS for the first time to try a Palworld mod and my game crashes after playing for half an hour or so. I removed the mod to see if it was the problem and the game continues to crash. Using version 3.0.1 of UE4SS.

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000017001980060

UE4SS UE4SS Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping

Palworld_Win64_Shipping kernel32 ntdll

Dump file UEMinidump.dmp

CrashContext https://pastebin.com/hvqq1P57

UE4SS commented 3 months ago

Just installed UE4SS for the first time to try a Palworld mod and my game crashes after playing for half an hour or so. I removed the mod to see if it was the problem and the game continues to crash. Using version 3.0.1 of UE4SS.

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000017001980060

UE4SS UE4SS Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping Palworld_Win64_Shipping

Palworld_Win64_Shipping kernel32 ntdll

Dump file UEMinidump.dmp

CrashContext https://pastebin.com/hvqq1P57

Find and set UseUObjectArrayCache to false in UE4SS-settings.ini. Try use a recent experimental build. There's no problem for me running UE4SS with the 0.3.5 patch of Palworld, but I'm running a recent experimental build and I haven't tested the non-experimental release but I think I remember it having problems.

Bricktobot commented 3 months ago

So, this issue has been (somewhat) resolved. some of the mods that i had but never worked, and now do after upgrading to the latest version.

if I install that game on my F or D drive, the game crashes on launch, regardless of if UE4SS is installed or not. When installed on my C drive, the game runs flawlessly.

The lua file that it was having trouble with was the mod "Yet Another UE4SS Signatures"