Developer Notes

Duplicate UE-14860

Description

A user has reported a crash when attempting to use the 'Spawn Actor' node within his level blueprint.

I was able to follow the repro steps provided in the original answerhub post and get the crash to occur in versions 4.9.2, 4.10.4, and 4.11 preview 6.

The interesting thing I noticed was that this node is not present on Windows. when I went to test the crash to see if it was platform specific.

I have provided the user a workaround by using the Spawn Actor from Class, which is more than likely what he is trying to do anyway.

Steps to Reproduce
  1. Open attached project
  2. Open Level Blueprint
  3. Create 'Spawn Actor' node off Event BeginPlay
  4. Select MediaPlayer_BP (but class to spawn can be set to anything)
  5. Compile Level Blueprint
  6. Hit 'Play' or PIE

Tested and Crashed 4/4 times

Outcome Editor crashes as soon as you press play.

Expected Editor either spawns the given actor, or blueprint does not compile.

Callstack
UE4Editor-CoreUObject.dylib!CastLogError() 
UE4Editor-GameplayAbilities.dylib!UGameplayAbility* CastChecked<UGameplayAbility, UObject>() 
UE4Editor-GameplayAbilities.dylib!UAbilityTask_SpawnActor* UAbilityTask::NewAbilityTask<UAbilityTask_SpawnActor>() 
UE4Editor-GameplayAbilities.dylib!UAbilityTask_SpawnActor::SpawnActor() 
UE4Editor-GameplayAbilities.dylib!UAbilityTask_SpawnActor::execSpawnActor() 
UE4Editor-CoreUObject.dylib!UFunction::Invoke() 
UE4Editor-CoreUObject.dylib!UObject::CallFunction() 
UE4Editor-CoreUObject.dylib!UObject::ProcessContextOpcode() 
UE4Editor-CoreUObject.dylib!UObject::execLetObj() 
UE4Editor-CoreUObject.dylib!UObject::ProcessInternal() 
UE4Editor-CoreUObject.dylib!UFunction::Invoke() 
UE4Editor-CoreUObject.dylib!UObject::ProcessEvent() 
UE4Editor-Engine.dylib!AActor::BeginPlay() 
UE4Editor-Engine.dylib!AWorldSettings::NotifyBeginPlay() 
UE4Editor-Engine.dylib!AGameMode::HandleMatchHasStarted() 
UE4Editor-Engine.dylib!AGameMode::SetMatchState() 
UE4Editor-Engine.dylib!UWorld::BeginPlay() 
UE4Editor-Engine.dylib!UGameInstance::StartPIEGameInstance() 
UE4Editor-UnrealEd.dylib!UEditorEngine::CreatePIEGameInstance() 
UE4Editor-UnrealEd.dylib!UEditorEngine::PlayInEditor() 
UE4Editor-UnrealEd.dylib!UEditorEngine::StartQueuedPlayMapRequest() 
UE4Editor-UnrealEd.dylib!UEditorEngine::Tick() 
UE4Editor-UnrealEd.dylib!UUnrealEdEngine::Tick() 
UE4Editor!FEngineLoop::Tick() 
UE4Editor!GuardedMain() 
UE4Editor!<Unknown> 
UE4Editor-Core.dylib!<Unknown> 
Foundation!Unknown() 
libsystem_pthread.dylib!<Unknown> 
libsystem_pthread.dylib!<Unknown> 
libsystem_pthread.dylib!<Unknown> 

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

0
Login to Vote

Duplicate
ComponentPlatform - Mac
Affects Versions4.9.24.10.34.11
Target Fix4.11
CreatedFeb 23, 2016
ResolvedMar 3, 2016
UpdatedApr 27, 2018