So, I was reparenting my VR hands BP to an actual class (I got them from the Oculus github repository and they were made solely in BP) in order to be able to encapsulate some data on them. In order to do that, and since the BP originally came with a skeletal mesh component, I had to create a new Skeletal Mesh component in my header file for the class I parented the Blueprint to, and then proceed to actually create the object on the class constructor. However, this made Unreal give me a world of trouble, since now the pivots are all wrong when the component does show up, and whenever I restart the engine the component simply wont show up. In order to have it showing up again, I have to comment the code that creates it in the cpp file and build the project, and then uncomment it and the build the project again. Does anyone know what I am doing wrong? I have attached some photos that hopefully can help describing the problem, as well as the crash that sometimes occurs when I try to add a Animation Blueprint to it after I managed to add the skeletal mesh component
Thanks in advance