Setting AIPerception component Senses Config to AI Damage / AI Prediction / AI Team sense config will cause the editor to crash on Play.
This may be related to [Link Removed]
Crash Reporter
[Link Removed]
1. Open UE4 Editor (any project)
2. Create blueprint based on actor (MyActorBP)
3. Add AIPerception component
4. Add element to Senses Config and set it to AI Prediction sense config
5. Compile the BP and add an instance to the level
6. PIE
Result:
Editor crashes on play when Play is clicked
MachineId:9FA88CA44B7C623122B0039D6C8BA1B0 EpicAccountId:c807849e05a0413d99e379f2802cae9c Access violation - code c0000005 (first/second chance not available) "" UE4Editor_AIModule!UAIPerceptionSystem::StartPlay() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\runtime\aimodule\private\perception\aiperceptionsystem.cpp:500] UE4Editor_Engine!UGameInstance::StartPIEGameInstance() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\runtime\engine\private\gameinstance.cpp:273] UE4Editor_UnrealEd!UEditorEngine::CreatePIEGameInstance() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\editor\unrealed\private\playlevel.cpp:3137] UE4Editor_UnrealEd!UEditorEngine::PlayInEditor() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\editor\unrealed\private\playlevel.cpp:2385] UE4Editor_UnrealEd!UEditorEngine::StartQueuedPlayMapRequest() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\editor\unrealed\private\playlevel.cpp:1066] UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\editor\unrealed\private\editorengine.cpp:1244] UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\editor\unrealed\private\unrealedengine.cpp:366] UE4Editor!FEngineLoop::Tick() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\runtime\launch\private\launchengineloop.cpp:2428] UE4Editor!GuardedMain() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\runtime\launch\private\launch.cpp:142] UE4Editor!GuardedMainWrapper() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\runtime\launch\private\windows\launchwindows.cpp:126] UE4Editor!WinMain() [d:\builds\inhouse\release4.9releasebranch\ue4-releases\4.9\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
Head over to the existing Questions & Answers thread and let us know what's up.