Spotlight Sale: Save 50% on select Props now through October 7.

Game Thread Check

MattLakeTA - Code Plugins - Sep 16, 2024
Not Yet Rated

Blueprint nodes and a Anim Class to help identify if logic is running on a Game Thread or a Worker Thread.

  • Supported Platforms
  • Supported Engine Versions
    5.4
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

This plugin will provide you with the means to identify whether your logic is running single-threaded on the Game Thread, or if the work is distributed to a Worker Thread meaning it is multi-threaded.


The plugin includes Blueprint nodes, and an Anim Instance Class which systems will help identify where exactly your logic is executing.


Technical Details

Features:

  •  Blueprint Node; IsRunningOnGameThread - Checks if the current execution flow is running on the Game Thread.
  •  Blueprint Node; IsThreading - Checks if a specific Anim Instance is single or multithreaded.
  • AnimInstance; GameThreadCheckAnimInstance - Anim Instance that features additional logging for the four primary events (InitializeAnimation, UpdateAnimation, PostEvaluate and ThreadSafeAnimationUpdate) to check if they are running on the Game Thread or a Worker Thread.

Code Modules:

  •  GameThreadCheck (Runtime)

Number of Blueprints: 0

Number of C++ Classes: 3

Network Replicated: No

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

Documentation: https://www.youtube.com/watch?v=_BSrMTxT4aE