All Instanced components outside of c++ constructor of an Actor are reset to null when compile a blueprint that inherit the c++ Actor

i added a blueprint a function that calls my addNewSpline . And tag that function to be call in editor ! so in the details panel in my viewport there is a button that appears ! that button allows you to your function.