PCG Spawn Actor Node spawns a huge amount of actors

player_ZaKi
Fri, 10 Jan 2025 22:57:46 +0000
World Creation

Hello Community,

I’ve created a procedural forest graph with PCG and within it, a function for generating a path. In my level, I’ve added a spline that serves as my path. Everything works fine: I spawn the path using decals placed on the ground, and they appear exactly how I want them. However, I noticed that my FPS dropped significantly. When I checked the Outliner, I saw hundreds of decals, even though the path is small and should only have around 20 decals.

It seems like all these decals are duplicates positioned in the exact same spot. It’s similar to manually creating a path with 20 decals, selecting all of them, and then hitting Ctrl + C and Ctrl + V 20 times. It makes sense that this is severely impacting my framerate.

I’ve also noticed this issue with every “spawn actor” node I use. I’ve added some screenshots for clarification. Additionally, I’m working with a procedural landscape.

I would greatly appreciate any kind of help.

1 post - 1 participant