Download

Packaged game spline issues? [Question/Bug]

I have a project that uses “Get location at distance along spline.” I use local coordinate space for some of them, and world space for others. This works fine when running in the editor. However, when I package the game, these commands are returning the wrong locations. Does anyone have an idea of what could be causing this? Spline meshes still show up where they should, but anything that is moved to a spline point via blueprint is moved to the wrong location.

I’m going to leave this here, in case anyone goes searching for it, but I found the answer: In the “Details” section of the spline itself, under “Cooking” there is a checkbox that says “Is Editor Only”. This is automatically checked, so de-check it if you need spline locations in your packaged game.