Basically, I have a ship (skeletalMesh) that has a socket to act as a weapon slot (designed for interchangeable weapons), and a gun (skeletalMesh). I have a gun Blueprint that I am calling in my Ship construction graph using the add childActorComponent and I am trying to attach it to the socket on my Ship.
The error occurs when I change Attach Type to “Snap to Target”, it crashes on compile from then onwards no matter what changes I make to the Blueprint. I have had to delete and rebuild and discovered this is the issue through trial and error.
Any thoughts? Am I doing this horribly wrong or is this a bug?
Figured it out.
Soon after posting this I realised I had mixed up the Target and In Parent pins, however I would still like to point out that even after correcting this It would still crash the editor to desktop when clicking Compile. Even deleting the entire graph and rebuilding caused crashes, Instead I would have to delete the Blueprint itself and rebuild from scratch.
No, this was happening only within that specific project and I should probably mention that it was 4.2.0 - Rebuilding the blueprint on my home machine with 4.2.1 I encountered no errors, which is when I realised the mix up on the pins.