Blueprint Integer Selection with increment afterwards cause Ensure condition failed: DestinationExpression->AssociatedVarProperty

Well im not sure if this a Failure of mine or a bug so i wanted to ask before creating a bug report.

The problem is if i do this:

then i’ll get following Failure next time i package(output.log)/compile UE4(Visual Studio Debugging Session)/ restart project (output.log)

Ensure condition failed: DestinationExpression->AssociatedVarProperty [File:\Engine\Source\Editor\KismetCompiler\Private\KismetCompilerVMBackend.cpp] [Line: 1318]

also the packaging will fail.

Solution for me (for now) is to check the EControllerHand with Equal for Left and use Branch for incrementing.

greetings

1 Like

Well i forgot to tell: I’m using the SteamVR Plugin… which servers the EControllerHand

Hey C4r731-

The ensure message is not a bug, but rather an indication of a potential problem in the future. If you’re already found a way to work around the ensure that works for you, I would continue with that method.

Cheers

Hey ,

thx for your Post and thx for the additional info… but while a got this message i could not package my project… after the workaround packaging was ok… anyhow, my workaround so far is to branch (left or right) and call a function… probably overkill for just small things but it works for me :D…

greetings,

C4r731

Just run into this in 4.25.3:

Do not - Set by Ref - when using the Select node.

1 Like