Better Construction Scripts

Construction Scripts for components, and better options for Construction Scripts to control the amount of work done in packaged builds.

Category:
Tags: , , , , , , , ,

Description

Unreal’s default Construction Script has differing behavior during Play in Editor than Packaged builds. In Packaged Builds, all Construction Scripts are executed at run-time, which can create large frame 1 spikes while loading a level if there are a lot of placed actors with custom construction script setup.

To fix this, this plugin provides two new construction script variants which can be used with Actors, StaticMeshActors, and SkeletalMeshActors; and can be integrated easily into any other actor class as needed:

In addition, this plugin also provides Construction Scripts for ActorComponents and SceneComponents, as long as the component is attached to a BetterConstructionScript supporting Actor:

Join my Discord Server, message me on twitter @sclark39, or post in the Forum Thread to ask questions and offer suggestions; or check out my other Marketplace Plugins and support my work!

Technical Details

Code Modules:

Number of Blueprints: 0

Number of C++ Classes: 5 classes, 2 interfaces

Supported Development Platforms: Win64, Win32, XboxOne, PS4, Switch

Supported Target Build Platforms: Win64, Win32, XboxOne, PS4, Switch

Documentation: Github

Warning: Because of how these construction scripts are implemented, some care does need to be taken in how they are used. They can be powerful but lack the safeguarding of the default actor’s Construction Scripts

Supported Engine Versions

4.24 – 4.27, 5.0 – 5.3