I was following a tutorial from Dokipen ([Tutorial][1]) about using spline to create linear arrays. Everything is working fine for spline curve type, but for linear, things are getting somehow weird. For some reason the GetLocationAtDistanceAlongSpline function return wrong values. I do not know if this is some kind of bug or propriety of the linear type spline. If anyone has the answer to this error or a alternative script to get the same result it will be awesome. Thanks anyway!
The first spline is set to linear and the second one to curve.
Hmm okay, that’s what I thought. I’m not getting the same results. Both splines are identical. Could you try this in a new project and if it still happens, post a test project with the issue?
Ok. I didn’t thought about that. I tried to create the scenario in another project but I’m getting the same results. And I did the same thing in a previous build that I have (4.8.3). In that case it works perfectly. I saw in another thread that there was some changes/fixes in the spline component. I don’t know if is that the case. These are my files. Let me know if you need something else. Thanks anyway. link text link text
I copied the nodes of the blueprint in question from your 4.9 project and pasted it in my 4.9 test project. I still can’t reproduce your results outside of the project you gave me.
Did you make the 4.8 project and convert it to 4.9 or did you create it as a fresh 4.9 project?
First, thank you so much for the support.
I made a new project for both of them. I will verify the engine or even remove everything and reinstall only the 4.9 version. Maybe something wrong with my compiler.
I did send a copy of the file to a friend and with my file in the 4.9 version, he got the same problem.
I will try and post if anything happens.
We haven’t heard back from you in a few days, so we are marking this post as resolved for tracking purposes. If you’re still experiencing this issue, please feel free to post back here with additional information.
Hi TJ Ballard, thank you for response.
Well, I created a New Level, Drag and Drop the Blueprint for the Scene, and converted the first/end point of Spline to Linear.
Im using UE4.9.1. If you want, I can record my screen and share with you.
Sure, if you could create a gif or short video showing how you are adding > changing the blueprint and then your results, that would be helpful.
I just added the spline bp like you described above but I couldn’t get your results. The only difference is that I am using 4.9.2 but that hotfix shouldn’t have included anything that changed this. Feel free to try 4.9.2 if you like.
Okay, I was able to reproduce this reliably using those assets. Thank you for taking the time to upload them and the video.
I have entered JIRA UE-22909 into our tracking software. Our developers will be investigating the issue further and we may post here with questions or comments.
This is still active in our system and is being triaged by the developers. We are aware that it is also happening in 4.11, but thank you for the additional info.