Hi,
My game is still lagging even after optimizing BPs and scenes, and the editor is also lagging. I don’t know why I have watched almost every tutorial for optimizing scenes, but still it’s lagging so much.[grid]
[/grid]
Hi,
My game is still lagging even after optimizing BPs and scenes, and the editor is also lagging. I don’t know why I have watched almost every tutorial for optimizing scenes, but still it’s lagging so much.[grid]
[/grid]
From what I’ve learned using soft object references and minimizing actors using tick is a good start
Hi, did you check size maps? Right click for example on your Player Character → (References) Size Map?
Oh i just noticed, thats a video in the end… how did you build your interface? Could you check the size map of your HUD / Root_Widget, if you have not done this yet?
@doctorpepperdan
any tutorial would you recommend as I have already eliminated most of the tick function from my game
Hi @SD_Gamer45! Would you be able to attach your insights file? Looking into this further might help debug your issue. It looks like your game thread is spending most of it’s time waiting for tasks- tracking down what those tasks are might help us.
A potential problem- you say you removed almost all on-tick functions- did you replace any with an activate function by timer? It looks like your game is freezing in a pattern of once a second, so this could be caused by an expensive timed function.
I am using set event functions instead of event tick, and how can I get the Insight file?
@SD_Gamer45 The first screenshots appear to be from an insights trace. Could you either attach that file or send more screenshots please? For more information on how to debug an insights file, this video by an Epic dev is a great resource:
Here is another video from the same dev going over general performance practices. Maybe you’ll find this more helpful:
I bet you just hitting the roof on your ram. If Level size map is over 5gb I bet the rest is even worst.
@MK_Studio
How to decrease Global illumination and also how to bake complex materials into Textures?
Top Left Corner there is a button called settings from there you can access scalability options where you can decrease what you want, Global Illumination, Shadows and Reflection are the one that hit the most. But 80% of power is drained by Global Illumination. Decreasing it under high should give you some good performance
By any chance, do you see this artifacts in Scalability at Medium but on High it fixes?
@MK_Studio Its already on HIGH
@MK_Studio
Any solution to fix these textures?
This issue appeared after combining the meshes into one? Or it was there before
It appeared after baking materials.