My Components disappear when I restart the engine

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?

Thanks in advance

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Hi,

Where you able to solve this?
Im having a slimier problem, Im creating a plugin and everything seems to work fine.
But when I reopen the project I get error and lost the reference to the component I created…
It`s my first plugin so could be that I made something wrong…?