Spawning decals

Hi All

I was working with a member to try to make a way to draw on / graffiti walls.

Our solution was to Line Trace / Find Location / Spawn Decal.

Now we have set it to infinite Life, but they seem to disappear at random amounts.

I have had them disappear after putting 6 down, waiting and put more down. This has also happened after I have hit 240 decals and all but about 5 disappear.

Regards

Hey -

I suspect that there may be a performance reason for this particular issue, but I was able to reproduce it and have reported it for further investigation in as UE-8302. As soon as I hear anything I will let you know.

Thank You

Apparently if you add them to an array they don’t die until you remove them from said array, also if you supply an actual value to the life parameter they will remain (set a huge life).

As I understand it, they are getting removed by the garbage collector.

I have just tried it and can confirm that adding them to an array will keep them alive until removed from the array.