BasSDK
BasSDK copied to clipboard
Dismembered custom NPCs respawn missing limbs
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.
This issue appears to be alleviated by disabling pooling, so I'm wondering if it's a caching bug there.