Performance bad when spawning 1300 spheres when standing close (VR)

Hey guys,

Hi I am building a prototype in UE4 and am spawning 1300 spheres in the beginning of my level from a sheet. My problem right now is that the performance drops extremely.

I noticed that it’s fine when I am looking from afar, but if I go very close it starts lagging and the framerate drops drastically. So I conclude that it has less to do with all the events of the spheres and is more of a render-issue, since it only laggs, when I am very close.

My question: What can I do to improve the performance while standing close? Maybe switching sth like occlusion of or lowering quality of shadows etc?!

Some notes:

  • The spheres themselves are basically custom particles with attributes and a custom calculated force/onTick.
  • Besides that they have a standard sphere static mesh
  • At the beginning they get attracted to a gravitation-center where they all collide to a big “blob”. Maybe also the collision of so many actors eats the performance?

Thanks in advance so much