• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

PC LoadObject can't load objects from Cache

Marco

Grizzled Veteran
May 23, 2009
644
230
Finland
Since I'm not sure if you are aware of this bug.

Category: Code

Reproducibility: Always

Summary: UObject::LoadObject/Object.DynamicLoadObject can't find objects from packages loaded from Cache.

Description: This effectively breaks all maps or mods from referencing across to other custom packages, it will always throw on load "Failed to load object XXX" even though "OBJ LINKERS" console command clearly shows the packages are loaded with correct package name.

To test:
1. Simply create a custom texture package and a custom map that uses it. 2. Join a server hosting that map, make sure you don't have the packages yourself and download them from the server.
And so, all textures in the map references to a "default texture".

However in modding, you can clearly see the object references can be replicated from server to client, so that means UPackageMap knows the references to the objects in the package.

Online/Offline: Online
 
Bump once again:
Since this day 1 most f****ng annoying bug in modding history is still NOT FIXED! :mad:

To make things perfectly clear, I have discontinued any modding until this bug has been fixed in the game engine.

This bug is not present in stock Unreal Engine 3, it is something that you, Tripwire Interactive broke, not Epic Games.

Now fix it!

...or you can have the community simply enjoy the vanilla game only.
 
Upvote 0
I don't know if it is related but there is a similar problem with mods on RO2 where files are downloaded and inside the cache, but the game does not see them and problem occurs (default textures, mod not working at all, things like that, problems can be checked with mods like Heroes of the West for the texture problem, or IOM for the stuck and bugged UI after class selection).

This problem was introduced with the brewing system tripwire included in RO2 a few years ago, KF 2 released with this brewing system too (brewing replacing original cooking from udk).

I don't know maybe it is this brewing system that mess up things somewhere..
 
Last edited:
Upvote 0
Still not fixed.

This happens when you try to extend a custom mod off another custom mod and you join the server:
[0237.28] Warning: Warning, Failed to load 'KF2GUI.KFGUI_Page'! Referenced by 'ServerExt.ExtPlayerController:MidGameMenuClass' ('---').
[0237.28] Warning: Warning, Failed to load 'KF2GUI': Can't find file for package 'KF2GUI' while loading NULL
[0237.28] Warning: Warning, Failed to load 'KF2GUI': Can't find file for package 'KF2GUI' while loading NULL
[0237.35] Warning: Warning, Failed to load 'KF2GUI.GUIStyleBase:pickFont.ReturnValue'! Referenced by 'ServerExt.KFExtendedHUD:DrawPetInfo' ('---').
[0237.35] Warning: Warning, Failed to load 'KF2GUI': Can't find file for package 'KF2GUI' while loading NULL
[0237.35] Warning: Warning, CreateImport: Failed to load Outer for resource 'PickFont': Class KF2GUI.GUIStyleBase
[0237.35] Warning: Warning, CreateImport: Failed to load Outer for resource 'ReturnValue': Function KF2GUI.GUIStyleBase:pickFont
....2000 lines of warnings....
[0237.39] Warning: Failed to load ObjectArchetype for resource 'Default__UI_MidGameMenu': KFGUI_FloatingWindow KF2GUI.Default__KFGUI_FloatingWindow in ServerExt
[0245.12] Log: === Critical error: ===
Fatal error!
 
Upvote 0