Developer Notes

This is working as intended. It's letting you know that it is invalid to call the snapshot function with no skeletal mesh set.

Description

ensureAsRuntimeWarning occurs when the user use Snapshot Pose with a skeletal mesh component that doesn't have a skeletal mesh assigned to it:

LogScript: Error: E:\Release\Engine\Source\Runtime\Engine\Private\Components\SkeletalMeshComponent.cpp(3142): Runtime Error: "ensureAsRuntimeWarning condition failed: SkeletalMesh != nullptr"
LogScriptCore: Error: Script Msg: ensureAsRuntimeWarning condition failed: SkeletalMesh != nullptr
LogScriptCore: Error: Script call stack:
    PoseSnapEnsure_C.ExecuteUbergraph_PoseSnapEnsure
    PoseSnapEnsure_C.ReceiveBeginPlay

In 4.16, this used to crash.

Steps to Reproduce

Test content submitted in Release 4.17 at CL 3526355

  1. Open QAGame in editor.
  2. Add the blueprint PoseSnapEnsure to the level.
  3. Play in viewport.

RESULT

Ensure message occurs

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-46972 in the post.

0
Login to Vote

Non-Issue
ComponentUE - Gameplay - Blueprint
Affects Versions4.17
CreatedJul 7, 2017
ResolvedJul 7, 2017
UpdatedApr 27, 2018