CounterStrikeSharp
CounterStrikeSharp copied to clipboard
[BUG] CItemHeavyAssaultSuit with Wrong Resource Path
CCSPlayerController player = Utilities.GetPlayerFromUserid(id);
player.GiveNamedItem<CItemHeavyAssaultSuit>("CItemHeavyAssaultSuit");
Could not give item "HeavyAssaultSuit" Because the resource path is not right.
Found in vpk:
characters/models/tm_phoenix_heavy/tm_phoenix_heavy.vmdl_c
characters/models/tm_phoenix_heavy/sleeve/sleeve_tm_heavy.vmdl_c
characters/models/ctm_heavy/ctm_heavy.vmdl_c
characters/models/ctm_heavy/sleeve/sleeve_ctm_heavy.vmdl_c
And here is the log:
Failed loading resource "characters/models/tm_heavy/tm_phoenix_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "characters/models/tm_heavy/tm_phoenix_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
Calling Steam to write a minidump for the assert
Failed loading resource "models/weapons/v_models/arms/phoenix_heavy/v_sleeve_phoenix_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "models/weapons/v_models/arms/phoenix_heavy/v_sleeve_phoenix_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
Failed loading resource "models/weapons/v_models/arms/ctm_heavy/v_sleeve_ctm_heavy.vmdl_c" (ERROR_FILEOPEN: File not found)
C:\buildworker\csgo_rel_win64\build\src\resourcesystem\resourcesystem.cpp (1217) : AssertMsg Failed in function CResourceSystem::BlockingLoadResourceByNameIntoJustInTimeManifest():
false
Resource "models/weapons/v_models/arms/ctm_heavy/v_sleeve_ctm_heavy.vmdl" was not precached but was loaded by a just in time blocking load.
Also happened if you set this value:
ConVar.Find("mp_weapons_allow_heavyassaultsuit").SetValue(true);
Seems like Valve bug.
Maybe you have to precache those resources manually? (Server.PrecacheModel should be enough)
Valve has removed all of these assets in the latest game update, closing this.