Blueprint MID crashes if Count is -1

Hello,

The blueprint node MID will crash the game if the count is -1

Hey Genova,

I’ve reproduced your crash and entered a bug report, which you can track here: Unreal Engine Issues and Bug Tracker (UE-40081)

This issue is likely by design due to the assertion located in the Mid function in UnrealString.h, which checks to see if the count is < 0; however, I have entered the report to include an error message rather than a hard editor crash.

Thanks for your report.

Thanks,

it wasn’t crashing on 4.10 by the way.

What I expect is to have the node output a null string.