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.27k stars 166 forks source link

[BUG - Release] Fatal Error: AOB scans could not be completed because of the following reasons: Was unable to find AOB for 'StaticConstructObject' via Lua Script #388

Open aBlackandGoldenRetriever opened 7 months ago

aBlackandGoldenRetriever commented 7 months ago

Branch or Release v3.0.0

Game and Engine Version Palworld, Steam, 5.1

Describe the bug Mods not loading. Enabled console to see what what going on and Lua attempts to scan over 1000 times until saying Was unable to find AOB for 'StaticConstructObject' via Lua Script

Mods directory Mods folder vanilla

To Reproduce Steps to reproduce the behavior:

  1. Launch game
  2. Attempt a game load to see if any mods load
  3. See error in log

Win 11

Additional context Add any other context about the problem here.

narknon commented 7 months ago

Where's your log? Did you install in the correct location?

aBlackandGoldenRetriever commented 7 months ago

[2024-02-13 23:07:15] Console created [2024-02-13 23:07:15] UE4SS - v3.0.0 Beta #0 - Git SHA #5319a0e [2024-02-13 23:07:15] UE4SS Build Configuration: GameShippingWin64 (MSVC) [2024-02-13 23:07:15] Setting up mods... [2024-02-13 23:07:15] Starting mods (from mods.txt load order)... [2024-02-13 23:07:15] Starting mods (from enabled.txt, no defined load order)...

[2024-02-13 23:07:15] No specific game configuration found, using default configuration file [2024-02-13 23:07:15] Config: --------------------------------------------Palworld\Pal\Binaries\Win64\UE4SS-settings.ini

[2024-02-13 23:07:15] root directory: --------------------------------------------Palworld\Pal\Binaries\Win64 [2024-02-13 23:07:15] working directory: --------------------------------------------\Palworld\Pal\Binaries\Win64 [2024-02-13 23:07:15] game executable directory: --------------------------------------------Palworld\Pal\Binaries\Win64 [2024-02-13 23:07:15] game executable: --------------------------------------------Palworld\Pal\Binaries\Win64\Palworld-Win64-Shipping.exe (146637824 bytes)

[2024-02-13 23:07:15] mods directory: -------------------------------------------Palworld\Pal\Binaries\Win64\Mods [2024-02-13 23:07:15] log directory: --------------------------------------------Palworld\Pal\Binaries\Win64 [2024-02-13 23:07:15] object dumper directory: --------------------------------------------\Palworld\Pal\Binaries\Win64

[2024-02-13 23:07:15] PS Scan attempt 1 [2024-02-13 23:07:15] [PS] Reading image [2024-02-13 23:07:15] [PS] Starting scan [2024-02-13 23:07:15] [PS] Scan finished in 486.6333ms [2024-02-13 23:07:15] [PS] Found EngineVersion: 5.1 [2024-02-13 23:07:15] [PS] Found GUObjectArray: 0x7ff6a35951f0 [2024-02-13 23:07:15] [PS] Found GMalloc: 0x7ff6a34bcba8 [2024-02-13 23:07:15] [PS] Found FName::FName(wchar_t*): 0x7ff69dab2db0 [2024-02-13 23:07:15] [PS] Found FText::FText(FString&&): 0x7ff69d9e4f90 [2024-02-13 23:07:15] PS scan successful [2024-02-13 23:07:15] Running first pass of Lua override scans [2024-02-13 23:07:15] Lua Scan attempt 1 [2024-02-13 23:07:15] FName::ToString address: 0x7ff69dac3e80 <- Lua Script [2024-02-13 23:07:15] AOB scans could not be completed because of the following reasons: Was unable to find AOB for 'StaticConstructObject' via Lua script

[2024-02-13 23:07:15] Lua Scan attempt 2 [2024-02-13 23:07:15] FName::ToString address: 0x7ff69dac3e80 <- Lua Script [2024-02-13 23:07:15] AOB scans could not be completed because of the following reasons: Was unable to find AOB for 'StaticConstructObject' via Lua script

... (past 72 scan attempts)

aBlackandGoldenRetriever commented 7 months ago

It loads up everything pretty well when I boot up the game. Something is just off and I can't put my finger on it. No previous version was installed. I cleaned out all mods to see if they were the issue, but it's certainly the install.

aBlackandGoldenRetriever commented 7 months ago

-------------------------------------------- is path to game, just put there for privacy

trumank commented 7 months ago

It's trying to run a Lua scan for StaticConstructObjectInternal, which means there is a UE4SS_Signatures/StaticConstructObject.lua file. Where did this come from? I believe Palworld shouldn't need any special configuration and should work if you remove it.

OS-Void commented 7 months ago

It's trying to run a Lua scan for StaticConstructObjectInternal, which means there is a UE4SS_Signatures/StaticConstructObject.lua file. Where did this come from? I believe Palworld shouldn't need any special configuration and should work if you remove it.

These signature files are being loosely distributed throughout the Palworld nexusmod community, many mod authors "recommend" to download different signature files and claim that it adds "mod stability"

narknon commented 7 months ago

Well that's probably causing issues with every update.

Buckminsterfullerene02 commented 7 months ago

It's trying to run a Lua scan for StaticConstructObjectInternal, which means there is a UE4SS_Signatures/StaticConstructObject.lua file. Where did this come from? I believe Palworld shouldn't need any special configuration and should work if you remove it.

These signature files are being loosely distributed throughout the Palworld nexusmod community, many mod authors "recommend" to download different signature files and claim that it adds "mod stability"

Wow, what a bunch of rubbish and terrible advice from those mod authors! Have you got any example links?

OS-Void commented 7 months ago

It's trying to run a Lua scan for StaticConstructObjectInternal, which means there is a UE4SS_Signatures/StaticConstructObject.lua file. Where did this come from? I believe Palworld shouldn't need any special configuration and should work if you remove it.

These signature files are being loosely distributed throughout the Palworld nexusmod community, many mod authors "recommend" to download different signature files and claim that it adds "mod stability"

Wow, what a bunch of rubbish and terrible advice from those mod authors! Have you got any example links?

A quick 2 min search:

https://www.nexusmods.com/palworld/mods/110?tab=description Includes signatures in the downloads.

https://www.nexusmods.com/palworld/mods/238 Includes signatures in the downloads.

https://www.nexusmods.com/palworld/mods/263 Scroll down to the "Dedicated Server" section, 1 link to a gist from 2 weeks ago, and another signature saying to download it from a different author's mods.

https://www.nexusmods.com/palworld/mods/239 https://www.nexusmods.com/palworld/mods/227 Same gist as the one above.

And these two are "Requirements" for some other mods https://www.nexusmods.com/palworld/mods/469 https://www.nexusmods.com/palworld/mods/474

https://www.nexusmods.com/palworld/mods/343 https://www.nexusmods.com/palworld/mods/59 https://www.nexusmods.com/palworld/mods/375 https://www.nexusmods.com/palworld/mods/374 https://www.nexusmods.com/palworld/mods/41 https://www.nexusmods.com/palworld/mods/118

Buckminsterfullerene02 commented 7 months ago

So the first 3 say to download 2.5.2, which probably did need the sigs.

Then a bunch more say to download 2.5.2 or 3.0 interchangeably. That is not okay because they are not compatible with each other.

One mod says that they can't get palworld with 150 mods enabled to load on 3.0.1 without the fname tostring sig which is interesting as I don't think ue4ss has really been tested with that many active mods before.

Oh, and people linking directly to the 3.0.0 release as the "latest release" is bad practice because then when it is no longer the latest release, users won't know that. If they just linked to the releases page in general, it's dead obvious which is the latest release.