I was following the spline tutorial from epic as well as the placing of my character on the forums but when I include the splineBP in my character and set it to the track generator I placed in the level I have a problem. The world location of my character (who I have placed right on top of the mesh generated on the beginning of the first spline point) is given as (700,-400,200) but the location of the spline from the Get World Location at Distance Along Spline, (target is trackGenerator_c(spline)) node is given as (0,0,0) and I also get the error Error Accessed None 'Spline' from node Construction Script in blueprint RunCharacter.
The construction script is not a good place to pass a reference to a Character since the character will be spawned and thus created at game start time. You will need some way to reliably pass the spline reference during game time.
Could possibly do a line trace and filter by class. Or if you only need this to work on one specific Spline BP, you could simply use “get all actors of class” on begin play and store that as a variable to communicate with. Check this thread for an example: