Skip to content

Unreal Engine 5 Features You Shouldn't Use Everywhere

Nanite, Lumen, Blueprints and Virtual Shadow Maps are great defaults, not free ones. Here is when each one starts costing you frames, and what to use instead.

0
Unreal Engine 5 rendering settings with Lumen, Nanite and ray tracing all enabled and GPU maxed out

Fungaz

Unreal Engine 5 ships with features that look like they should be switched on for everything: Nanite for every mesh, Lumen for every light, Virtual Shadow Maps for every shadow, and Blueprints for every bit of logic. They are good defaults. They are not free, and each one has cases where it is the slower or riskier choice.

This article walks through four of them, where they stop paying off, and what to do instead. The rule behind all of it is simple: profile first. Use stat gpu, ProfileGPU and Unreal Insights to confirm what is actually costing you frames before you change anything.

Why Nanite isn't always better

Nanite shines with dense, opaque, static geometry: photogrammetry rocks, detailed architecture, huge kitbash scenes. It splits meshes into clusters and only draws what is visible at the detail the screen needs. (We covered the internals in UE5 Nanite Explained.)

But Nanite has a fixed cost of its own, and some content fights its design:

  • Simple, low-poly scenes. If your meshes are already a few hundred triangles with good LODs, Nanite's base overhead can cost more than the traditional pipeline saves.
  • Masked and animated materials. Alpha-masked materials, World Position Offset and pixel depth offset push Nanite onto a slower programmable raster path. Dense masked foliage is a classic trap.
  • Overdraw from stacked geometry. Lots of thin, overlapping layers (foliage cards, aggregate clutter) can still cause heavy overdraw. Check the Nanite Overdraw visualization.
  • Unsupported cases. Translucent materials don't render through Nanite, and some target platforms (mobile, older hardware) fall back to the fallback mesh, so you still need a sensible fallback.

Use instead: keep classic static meshes with LODs and instancing for simple props and stylized art. Test foliage both ways. Turn Nanite on per asset, measure, and keep it where the numbers say it wins.

When Lumen hurts performance

Lumen gives you fully dynamic global illumination and reflections with no baking. That freedom has a GPU price every frame, and Epic's Lumen performance guide is clear that it is tuned for specific budgets and scalability levels.

Situations where Lumen often hurts more than it helps:

  • Static lighting that never changes. If the sun doesn't move and nothing is destructible, baked lighting gives similar results for almost no runtime cost.
  • Low-end, mobile and VR targets. High frame rates and high resolutions leave little room for a dynamic GI budget.
  • High internal resolution. Lumen cost scales with pixels. Pair it with upscaling (TSR or similar) instead of rendering at native 4K.
  • Content Lumen struggles to represent. Very thin walls cause light leaking, and emissive surfaces used as main light sources produce noise that needs more expensive settings to hide.
  • Expensive reflection settings everywhere. Hardware ray-traced reflections and high-quality translucency reflections are great for hero shots, costly as a global default.

Use instead: bake lighting for static spaces, use Lumen only where lighting truly changes, lower Lumen scalability on weaker hardware, and give players a GI quality setting.

Expensive Blueprint practices

Blueprints are not slow by default. Most game logic runs fine in them. The trouble comes from a few habits that scale badly as the project grows. Epic's Blueprint best practices page is worth a read.

  • Logic on Event Tick. Running checks every frame on hundreds of actors adds up fast. Use events, timers or a lower tick interval, and disable tick on actors that don't need it.
  • Get All Actors of Class in hot paths. It scans the world. Call it once and cache the result, or have actors register themselves.
  • Casting everywhere. A cast creates a hard reference, so loading one Blueprint can drag in many others and their assets. Prefer interfaces and soft references for loose coupling.
  • Heavy loops in Blueprint. Large ForEach loops over arrays, especially every frame, pay the Blueprint VM overhead on every iteration. Move them to C++.
  • Pure nodes with expensive work. A pure node runs again for every pin it feeds. Store the result in a local variable instead of wiring it to many nodes.

Use instead: keep Blueprints for high-level gameplay flow, and move hot, math-heavy or per-frame systems into C++ functions that Blueprints call.

Virtual Shadow Maps costs

Virtual Shadow Maps (VSM) give sharp, consistent shadows across huge views, and they are built to pair with Nanite. Their speed depends heavily on caching: pages that don't change are reused between frames. Anything that breaks that cache costs you.

  • Moving and animated geometry. Moving objects, skeletal meshes and materials using World Position Offset (like wind on foliage) invalidate cached pages every frame.
  • Non-Nanite geometry. Rendering regular meshes into VSM is much more expensive than Nanite meshes, so a scene of mostly classic meshes gets less benefit.
  • Many shadow-casting local lights. Each point or spot light that casts shadows adds its own virtual shadow map. Small fill lights rarely need shadows.
  • Large shadow-casting areas at high resolution. Big open views with lots of detail mean more pages to render and store.

Use instead: turn off shadow casting on small lights, limit WPO to what needs it (and its distance), use the per-primitive Shadow Cache Invalidation Behavior setting for objects that don't really need to update, and check the VSM cached page visualization to see what keeps invalidating. On low-end targets, regular shadow maps may still be the better fit.

The takeaway

Nanite, Lumen, Virtual Shadow Maps and Blueprints are powerful tools, and for many projects they are the right default. Just treat them as choices, not switches. Profile your scene, find the real cost, and use each feature where it earns its place.

Keep reading

Comments

0

No comments yet — be the first.

More from Game Development

See all