BasSDK icon indicating copy to clipboard operation
BasSDK copied to clipboard

Dismembered custom NPCs respawn missing limbs

Open IanLiotta opened this issue 1 year ago • 1 comments

I apologize for making these modding questions in the repo issues forum, but so few people have worked with custom NPCs that I'm unable to get answers anywhere else. It's also unclear to me if things are user error, SDK limitations, or bugs.

I have a working custom NPC. Dismemberment works correctly at first: body part separates, caps are filled in, enemy dies. However, as gameplay goes on, the NPC start respawning with invisible body parts. The collision for the invisible parts still works. The longer gameplay goes on, the more frequent the problem gets.

No console errors are generated. The issue persists across level loads.

IanLiotta avatar Sep 08 '23 10:09 IanLiotta

This issue appears to be alleviated by disabling pooling, so I'm wondering if it's a caching bug there.

IanLiotta avatar Sep 08 '23 12:09 IanLiotta