I made a wall building system. Befer adding a spline point, i’m drawing a ghost of the wall from the last point to the cursor actual position.
So every tick (when building) I update the ghost relatively to the cursor position : I delete the previous one, and draw a new one :
At runtime, I got a lot of error like this :
Blueprint Runtime Error: “Attempted to access NODE_AddSplineMeshComponent-4_1 via property CallFunc_Array_Get_Item, but NODE_AddSplineMeshComponent-4_1 is pending kill”. Blueprint: BP_WallSplineGhost Function: Draw Ghost Graph: Draw Ghost Node: DestroyComponent
If someone could explain me what’s wrong, it’d be awesome. Thank you