Here are some tips to optimize Unreal Engine and improve performance:
• Make sure you have a powerful enough PC. Unreal Engine requires a decent GPU, CPU, and RAM to run smoothly. Aim for a gaming PC with a dedicated graphics card, a recent Intel or AMD processor, and at least 8-16GB of RAM.
• Close other apps. Close any other apps running in the background to free up resources for Unreal Engine.
• Lower quality settings. In the editor preferences, lower settings like texture quality, shadow quality, post-processing quality, etc. This will reduce the load on your PC.
• Use LODs. Use Level of Detail (LOD) models to automatically switch to lower-poly models for objects far away from the camera. This optimizes performance.
• Bake lighting. Bake static and stationary lights into lightmaps to optimize lighting performance. Only use dynamic lights sparingly.
• Reduce draw calls. A draw call is when the engine draws an object. Reduce draw calls by using instanced materials, texture atlases, and draw call batching. This can significantly boost performance.
• Profile your game. Use the Unreal Engine profiler to see which systems (rendering, CPU, etc.) are bottlenecking your performance. Then you can optimize those specific systems.
• Build lighting only when needed. Only build lighting in your level when you make lighting changes. Building lighting can take a lot of processing power.
• Use occlusion culling. Occlusion culling hides objects that are not currently seen by the camera, improving rendering performance. Enable occlusion culling in your level.
• Keep your content optimized. Use optimized static meshes, textures, materials, and other content. Overly complex content can hurt performance.
• Build your game. Packaging your game for standalone or device deployment can often run faster than the editor. The editor has additional overhead.
Hope this helps you get started with Unreal Engine! Let me know if you have any other questions.