Unreal Engine – Open World NPC Optimization UE6400

Preview video

Download Demo project (Win) Build – Packed from UE4

Download Demo project (Win) Build – Packed from UE5

Tutorial how to setup component if you use Animnotify

Documentation

Discord Support server Link

This component provides performance boost by optimizing the NPC out of sight of the camera.

The component is completely autonomous — you just need to add it to the AI ​​(NPC) class.

The component works only with the class – Character class. If you have more skeletal meshes in your class (for example: another skeleton hand for a first person or a skeleton mesh for weapons or static meshes (for example, shields or weapons), the component will also work with them.

But component optimizes only the skeleton mesh and movement your NPCs, because this is what loads the system.

Everything else UE optimizes independently.

The NPCs outside of the camera’s field of view (the view frustum) aren’t visible, and can be culled. The rejected NPCs outside the truncated camera view are no longer displayed, leaving only a handful of NPCs within this view.

In online mode, the Component works with the client. All objects that are out of sight still remain in the game world, so if you use a dedicated server, other players will be able to see them. So you get the load on the system only those NPCs that are visible in the frame.

技术细节

Features:

  • The component not use Tick he work on a timer
  • Has a dispatchers and number of other settings
  • The component does not affect the amount of materials in your mannequin.
  • The component has Dispatchers and variables that will help to bind component to your logic.
  • The component does not affect the behavior of your NPC and is compatible with the behavior tree. There are also a number of settings and for your convenience they have descriptions.
  • The component can be added to the parent class and it will work for all children.
  • The component supports AnimNotify, but if you have the sound of steps in the animation it will only work in the near (close) radius. Or you can use a variable to force it on work, but first, why do you need the sound of steps on the other end of the map? And secondly, it will give you more load on the system.

Number of Blueprints: 4

Number of Components: 1

Input: default inputs.

Network Replicated: (Not Working – Single only) For low price – you can buy component with network support

Supported Development Platforms: (Windows, Mac)

Supported Target Build Platforms: (Windows, Mac)

DocumentationHow add and setup component

The “Demomap” folder can be deleted if the demo level is not needed in your project.