#Hello! I have a problem with my Items

1 messages ยท Page 1 of 1 (latest)

storm forge
#

I think this is mainly due to spawning and whatever runs on BeginPlay of those actors after they are spawned.

#

If you want to improve this you might need to lower the amount of actors you spawn per frame and do it in multiple frames.

pliant sparrow
#

Its after every actor is spawned...

#

there is no lag or something in the spawn process

storm forge
#

Or are you saying it remains 18ms after everything is spawned?

#

Ah

pliant sparrow
#

Jap

teal vortex
#

Are you running any additional logic or using physics on those actors?

storm forge
#

Have you used Unreal Insights to actually check what is so expensive?

pliant sparrow
#

I rotate the actor with a timeline that needs 5 seconds and I recall the rotate method after this 5 seconds...

#

BUT when I unplug this call nothing changes

teal vortex
#

That's the same thing as running tick on each of those actors.

pliant sparrow
#

So it should ne be this method

teal vortex
#

Anything else?

pliant sparrow
#

i disabled actor ticking

#

only enable it when i pickup the gun#

teal vortex
#

Timelines run on tick, even if you've disabled tick on the actor itself.

pliant sparrow
#

ok but i unplugged the rotate method

teal vortex
#

Yea that is a bit strange, and not something I'm sure of how to account for other than maybe if the timeline is present it's forcing tick to be enabled on that actor, I'm just not sure.

storm forge
#

I would still suggest you use Unreal Insights to actually profile this

#

Otherwise you are guessing

pliant sparrow
#

Yah, i tried to use insights but this is so fu**ing overwhelming ๐Ÿ˜„

#

I think im gonna do some insights tutorials or something ^^

#

but its definitely the weapon actor

#

maybe its forcing the actor to tick if i bind event to on component overlap or something?^^

#

Nevermind! Thanks for your help guys! ๐Ÿ™‚

#

Its the rotation method! - I forgot to disable it on the resource actors!

#

๐Ÿ˜„

#

only did it on the weapon actors