I want to hide the weapon attachments the first time I equip it and unhide them on demand, so I have added a “hide bone by name” at the end of my blueprint (after attaching the weapon to my character) and put a bone name for testing.
I’ve attempted to reproduce your issue by hiding one of the bones on the default FP_Gun from the FirstPersonTemplate, but the same crash is not reproducing.
Could you please provide the following:
A detailed list of steps we can follow to reproduce the issue in a clean project
The logs from your project’s Saved->Logs folder after the crash occurs
Your Machine ID from the crash reporter window if you’re getting one, and ensure to hit Send & Close on the report.
I think I know where the problem is. If I add my skeletal mesh in the world and use the “Hide bone by name” node in the level blueprint, it works and don’t crash.
But I use a skeletal mesh component as a variable in a function of my blueprint and use this variable as the target of the “hide bone by name” node. Once the function is executed, the engine crash. Of course the variable is set before hiding this bone.