Event tick hooked to a line trace and only one "cast to actor" node make my fps fall slowly to unplayable. Is there any alternative to fix this ?

That cast shouldn’t affect the frame performance, I don’t see anything in that function that I would consider weird. I think the problem is somewhere else.

You need to profile the game to see just what is actually costing the frame time. I recommend checking out Maximizing Your Game’s Performance in Unreal Engine | Unreal Fest 2022 if you don’t have experience profiling in Unreal Engine.

2 Likes