Description

If the "Start Position" in the "Find Substring" node is larger than the number of characters in the "Search in" field a crash will occur.

Steps to Reproduce
  1. Open the editor
  2. Open the level blueprint
  3. Create the blueprint in the attached image
  4. save
  5. Play in Editor

Result: The editor crashes
Expected: The node would throw an error when trying to enter a number larger than the number of character in the string being searched

Callstack
UE4Editor_Core!FString::Find() string.cpp:175 
UE4Editor_Core!FString::Find() string.cpp:159 
UE4Editor_Engine!UKismetStringLibrary::execFindSubstring() kismetstringlibrary.h:13 
UE4Editor_CoreUObject!UFunction::Invoke() class.cpp:4461 
UE4Editor_CoreUObject!UObject::CallFunction() scriptcore.cpp:721 
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() scriptcore.cpp:2165 
UE4Editor_CoreUObject!UObject::execLet() scriptcore.cpp:1951 
UE4Editor_CoreUObject!UObject::ProcessInternal() scriptcore.cpp:943 
UE4Editor_CoreUObject!UObject::CallFunction() scriptcore.cpp:845 
UE4Editor_CoreUObject!UObject::ProcessInternal() scriptcore.cpp:943 
UE4Editor_CoreUObject!UFunction::Invoke() class.cpp:4461 
UE4Editor_CoreUObject!UObject::ProcessEvent() scriptcore.cpp:1313 
UE4Editor_Engine!AActor::ProcessEvent() actor.cpp:695 
UE4Editor_Engine!AActor::ReceiveBeginPlay() 
UE4Editor_Engine!AActor::BeginPlay() actor.cpp:3136 
UE4Editor_Engine!AActor::DispatchBeginPlay() actor.cpp:3104 
UE4Editor_Engine!AWorldSettings::NotifyBeginPlay() worldsettings.cpp:187 
UE4Editor_Engine!AGameStateBase::HandleBeginPlay() gamestatebase.cpp:177 
UE4Editor_Engine!UWorld::BeginPlay() world.cpp:3443 
UE4Editor_Engine!UGameInstance::StartPlayInEditorGameInstance() gameinstance.cpp:338 
UE4Editor_UnrealEd!UEditorEngine::CreatePIEGameInstance() playlevel.cpp:3427 
UE4Editor_UnrealEd!UEditorEngine::PlayInEditor() playlevel.cpp:2515 
UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlayMapRequest() playlevel.cpp:1217 
UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1525 
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:386 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:3119 
UE4Editor!GuardedMain() launch.cpp:166 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:134 
UE4Editor!WinMain() launchwindows.cpp:210 
UE4Editor!__scrt_common_main_seh() exe_common.inl:253 
kernel32!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.16.2
Target Fix4.17
Fix Commit3540594
Main Commit3596628
Release Commit3540594
CreatedJul 17, 2017
ResolvedJul 17, 2017
UpdatedJul 26, 2018