Package_manager.lua:502: Trying to unload resource

Issue Type (Required):

Crash - During Play

Issue Description (Required):

Hello.
After the release of Hotfix #84 (1.10.3), this error “package_manager.lua:502” began appearing almost every game session. It never occurred before. It’s not related to mods. Please provide feedback on how to fix this or consider working on a fix. The problem may have existed before, but it didn’t happen this often. Other players have also reported similar issues.

[PC] Do You Use Mods? (Optional):

Yes, and I’ve tried disabling them

Reproduction Rate (Required):

Unusual (<25%)

Platform (Required):

PC - Steam

[PC] Crash Report (Optional):

GUID: 8863f4ff-5489-49a1-a9e8-99955b4f773d

Log File:
Info Type:

[Script Error]: scripts/foundation/managers/package/package_manager.lua:502: Trying to unload resource #ID[91bf1e0a0217d6d6].#ID[eac0b497876adedf] that’s used elsewhere by the engine, refcount: 2

[PC] Upload Console Log & darktide_launcher.log (Optional):

console-2025-12-20-03.14.46-80e4fafc-1545-4dfc-8f14-a881c003b730.log (797 KB)

2 Likes

Hey Dolphin. I can see our developers are aware of this crash, but it does have some ties to mods.

It’d really help us out if you could reproduce the crash without mods, and share the associated crash report here!

1 Like

GUID: 76ebccc3-b561-4e93-a11d-7c58c9f89ff1

Log File:
Info Type:

[Script Error]: scripts/foundation/managers/package/package_manager.lua:502: Trying to unload resource #ID[e071ddb4a95eae0c].#ID[fe73c7dcff8a7ca5] that’s used elsewhere by the engine, refcount: 2

Crashed while tabbed out. No mods

2 Likes

Do you have a console log for this crash?! That would be huge.

1 Like

yeah having this problem too now suddenly.

GUID: 2f5caa5e-fe94-4124-8f4d-6a2ef1199a55
Log File:
Info Type:

[Script Error]: scripts/foundation/managers/package/package_manager.lua:502: Trying to unload resource #ID[63bb2c7a7376e6d0].#ID[a8193123526fad64] that’s used elsewhere by the engine, refcount: 2

This could be the ‘Extended Weapon Customization’ mod.

Thanks for the reply, I’ll disable the mod and see if it makes a difference.

I play with mods but do not have ‘Extended Weapon Customization’

I get this crash maybe once every 10-15th game?

GUID: cca8aa1c-9171-4716-86fd-e2570084ba92

Log File:
Info Type:

[Script Error]: scripts/foundation/managers/package/package_manager.lua:502: Trying to unload resource #ID[63bb2c7a7376e6d0].#ID[a8193123526fad64] that’s used elsewhere by the engine, refcount: 2

Please supply a console log

I do not use the Weapon Customization Mod (a bunch of others), but I still get this crash every once in a while. Today three times in a row.

Console log attached.

console-2026-01-25-03.09.50-183596ea-c313-4206-834d-104de0e76b0b.log (887.7 KB)

crash report.txt (429 Bytes)

Uninstalling these should reduce the chances of it happening (but not to zero):

  • 03:09:54.934 [Lua] [AML] 18:“BetterFireGrenade”
  • 03:09:54.934 [Lua] [AML] 30:“CleanForceBlocking”
  • 03:09:54.934 [Lua] [AML] 84:“MoreGraphicsOptions”
  • 03:09:54.935 [Lua] [AML] 136:“veil_shield”

FS are working on this issue and several modders are tracking which mods increase the crash risk (spoiler: anything that touches particle effects).

Other Stuff:

You don’t have scoreboard why do you have this FPS leech running?

  • 03:09:54.934 [Lua] [AML] 13:“animation_events”

These make each other redundant, you should remove one:

  • 03:09:54.934 [Lua] [AML] 19:“BetterLoadouts”
  • 03:09:54.934 [Lua] [AML] 85:“more_characters_and_loadouts”

These all overlap, pick only one and remove the rest:

  • 03:09:54.934 [Lua] [AML] 12:“ammo_med_markers”
  • 03:09:54.934 [Lua] [AML] 47:“FoundYa”
  • 03:09:54.934 [Lua] [AML] 75:“markers_aio”
  • 03:09:54.934 [Lua] [AML] 101:“Ration Pack”
  • 03:09:54.935 [Lua] [AML] 120:“StimmsPickupIcon”
  • 03:09:54.935 [Lua] [AML] 121:“stimm_markers”

I get that you are afraid of the dark but you could probably cut down on these too:

  • 03:09:54.934 [Lua] [AML] 44:“emperors_lantern”
  • 03:09:54.935 [Lua] [AML] 110:“servo_friend”
  • 03:09:54.935 [Lua] [AML] 122:“SuperFlashlight”
2 Likes

This is mod “veil_shield”. I had a steady 1 crash per game until I turned it off.

image (4)
Update your mod, silly billy.

1 Like