Blueprint library Plugin for Unreal Engine 5+, for debug prints, vectors and loops.
- UnrealEngine 5+
- LInfo, LDebug, LSuccess, LWarn, LError, each will print with different colors and durations, you can filter which levels to output on a per blueprint basis:
- LDrawDebugVectorOnActor, LDrawDebugVectorOnPlayer, will let you draw a vector on an actor, with optional offset, in worldspace or not:
- LForLoopWithDelay, LForLoopWithDelayAndWait, LForLoopSequential, LForEachLoopSequential, will let you have delays/latent nodes inside for loops:
- Download: click on Code, Download Zip.
- On your UnrealEngine project folder, create a folder Plugins if none is present.
- Open the downloaded ZIP file and extract LUtils-main inside Plugins and rename the copied folder to LUtils.
- Open your project in UnrealEngine and go into Edit then Plugins.
- On the Plugins window, search for LUtils and enable it.
To use the executions timers (to show the elapsed time between a start and a stop node) and to be able to disable all prints (except Errors prints), you need to use the provided BP_LDebugGameInstance, you can either use it as base GameInstance, or reparent it to your own GameInstance. Then define your desired GameInstance in Projet Settings.
By default all levels can be printed, if you want to be able to limit the levels a specific Blueprint can print, you need to implement the interface BPI_LDebug
- Go into your blueprint asset
- Click on Class Settings
- Seek the Interface / Implemented interfaces part on the Details tab, and add the BPI_LDebug
- A new function will be added to your blueprint: GetDebugMask
You can look at the file BP_ExampleLDebug