How can I optimise many actors in world?

Cogganator
Mon, 04 May 2020 16:25:20 +0000
World Creation

Hello
I’ve been working on an unreal project for a few years now.
It features thousands of fish skeletal meshes that roam around throughout it, and I was wondering if I could get help with optimization, as I’ve been struggling with framerate for some time.

My current solution (which helps but isn’t ideal):
Separate the open world into many separate levels in a grid and load when near.
This helps but causes a freeze every time the player crosses a boundary

The only problem for optimization is my animal blueprints, they work by moving forward and changing direction a small increment every tick. This isn’t too taxing for 1 blueprint, but x50 at a time and I start to get slowdown.
I’ve tried using simple culling of the blueprint when at a certain distance, but the blueprint still seems to keep holding down frames.

(What the actors look like in-game)

I’ve been stuck on this for some time now, I can’t figure out a way of stopping the blueprint actors from slowing down frames without having to completely unload them from the game.

Any help would be appreciated

many thanks

34 posts - 1 participant