Spline component node not working in Construction Script (only)

Been finding a lot of interesting uses for the Spline component across several projects. In this month’s December game jam for example, hitpawz and I used them to create Christmas lights to decorate our level:

http://s28.postimg.org/vu1kd1m6l/Lights1.jpg

Trick we’re using is to divide the spline length by a set spacing, and call the “Get World Location at Distance Along Spline” node to build the transform to add other mesh components on the fly (with random colors etc).

http://s28.postimg.org/sbpkgnlal/Lights2.jpg

Issue: This node (and possibly others related to splines) don’t work in the Construction Scripts anymore. They do work in-game (Play or Simulate). They did work in Construction Scripts in older builds (4.4 and earlier). Don’t know if this is related or not, but this issue first popped up as soon as the new road tools came out with the advanced vehicle stuff… might be a clue. Also curious if this was nerfed on purpose for performance reasons? This makes it difficult to place splines in the right spots because you have to jump in and out of game to see the effects of adjustments.

Anyway, to recreate you can follow the blueprint sample above - feed that Make Transform into an Add StaticMesh component node to pick up the location, then wire its return value into a Set Static Mesh block (choosing any available static mesh). The meshes won’t appear as you add nodes or alter the spline. Copy the same code into an Event Graph (on Begin Play or elsewhere), and it works fine.

Thanks!

I’m having a similar issue with setting spline locations in the constructor in 4.6

I’ve got the same issue in 4.13, any explanation or workaround please?