Spline target does not work


I have a simple BP that inherits from the Default Pawn class, let’s call it “1”. I create a simple actorBP with one component which is a spline, let’s call it “2”. I added both BPs to the scene.
To “1” I added a variable “target” that is an object ref to “2” .
In editor I set “target” to point to “2” actual object in the map.
But when I close the code, I get a runtime “error/warning” that object “1” gets None when trying to access the “2” object.
(on latest prod version of engine)