KospY / BasSDK

Official SDK for the VR game "Blade & Sorcery"
https://store.steampowered.com/app/629730/Blade_and_Sorcery
114 stars 67 forks source link

Dismembered custom NPCs respawn missing limbs #61

Open IanLiotta opened 12 months ago

IanLiotta commented 12 months ago

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 commented 12 months ago

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