PCG difference node not working in packaged build

Hello,

I am trying to prune PCG foliage from procedurally generated roads at runtime. To do this, I dynamically spawn actors with box collision components on nearby roads around the player and add a difference node between the actor and the foliage points.

The problem is that everything works correctly when playing in the editor, but in packaged builds of the game, the foliage is no longer pruned and spawns on the roads, even though the box collision components are being generated properly. Does anyone know what could be causing this? Thanks a lot in advance!