Jump to content

Deleting a player_hosted with shadow_thrall_parasitehat may occasionally cause a crash.


jamesetat
  • Pending

During my debugging process, I found that when a player_hosted with shadow_thrall_parasitehat is deleted using console commands, it may cause the server to crash (the crash does not always occur immediately—it may require spawning and deleting the entity multiple times to trigger).

While this bug has little impact on regular players, it could cause some trouble for mod developers.

EDC4BB8928D2B0D6ABD7E9E248726B1C.png


Steps to Reproduce
  1. host = c_spawn("player_hosted")
  2. local mask = SpawnPrefab("shadow_thrall_parasitehat")
  3. host.components.inventory:GiveItem(mask)
  4. host.components.inventory:Equip(mask)
    You may need to spawn the entity multiple times and then use c_removeall("player_hosted")—though other deletion commands may also trigger the crash.

client_log.txt




User Feedback




Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...