FRuntimeErrors::LogRuntimeIssue

Prints out a runtime warning or error (typically by 'throwing' a BP script exception with the BP callstack)

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/RuntimeErrors.h

Include

#include "Misc/RuntimeErrors.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/RuntimeErrors.cpp

Syntax

static void LogRuntimeIssue
(
    ELogVerbosity::Type Verbosity,
    const ANSICHAR * FileName,
    int32 LineNumber,
    const FText & Message
)

Remarks

Prints out a runtime warning or error (typically by 'throwing' a BP script exception with the BP callstack)

Returns

false in all cases.

Parameters

Parameter

Description

Verbosity

The verbosity of the issue (should be Warning or Error)

File

File name ANSI string (FILE)

Line

Line number (LINE)

Message

Error or warning message to display, this may be surfaced to the user in the editor so make sure it is actionable (e.g., includes asset name or other useful info to help address the problem)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss