Hi, so I was continuing working on the enemy character that is able to remove muscles from it (http://root-motion.com/qa/index.php?qa=2898&qa_1=removing-muscle-from-character-that-both-puppetmaster-final) so I decided to add prop for it to carry so that it can attack the players using the prop it is holding.
The problem rises when the enemy gets his hand muscle removed while the hand holds a prop, using the RemoveMuscleRecursive function. I am using object pooling so the enemy will get rebuild using the puppetmaster.rebuild() function to prepare it for its next run which I will provide it with another set of props to hold. I receive the error message of Null Reference Exception at line 70 of PuppetMasterHierarchyAPI.cs, which was traced from line 90 of Prop Root. There is a warning message before the error message which says "No muscle with Rigidbody Wrist_Rfound on the PuppetMaster", which comes from lines 201 of PuppetMasterMuscleAPI.cs.
My assumption would be breaking the hand/arm of the puppetmaster did manage to remove it properly but when I rebuild it it does not do so correctly as it was connected to a prop previously, as my new prop was set correctly on the enemy character prop root, even though there is this error, so I am not very sure. It would be great if you can help me look into this, thank you.