Description

After editing character blueprint of a code based side scroller project, starting PIE will show the camera detached from the character and exiting PIE causes the project to crash.

NOTE:
This appears to be isolated to the Side Scroller template project. Tested third person template and rolling ball template without having the same problem

NOTE 2:
This crash did not occur for a blueprint based Side Scroller project.

Regression:
This is a regression. 4.10.4 Binary does NOT crash after editing BP followed by PIE.

NOTE 3:
This may be related to [Link Removed]

Steps to Reproduce
  1. Open UE4 Editor
  2. Create a new code project based on the Side Scroller template
  3. Open SideScrollerCharacter BP
  4. Compile
  5. PIE (camera is not positioned correctly)

Result:
Ensure when PIE starts up

Expected:
PIE starts without ensure

Repro Rate:
3/3

Callstack

LogOutputDevice:Warning: === Handled error: ===
Ensure condition failed: false [Link Removed] [Line: 1425]
Template Mismatch during attachment. Attaching instanced component to template component. Parent 'CameraBoom' Self 'SideViewCamera'
Stack:
UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:178]
UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\misc\outputdevice.cpp:317]
UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalse() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\misc\outputdevice.cpp:441]
UE4Editor-Engine.dll!USceneComponent::AttachTo() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\components\scenecomponent.cpp:1425]
UE4Editor-Engine.dll!USceneComponent::OnRegister() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\components\scenecomponent.cpp:414]
UE4Editor-Engine.dll!UCameraComponent::OnRegister() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\camera\cameracomponent.cpp:110]
UE4Editor-Engine.dll!UActorComponent::ExecuteRegisterEvents() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\components\actorcomponent.cpp:1094]
UE4Editor-Engine.dll!UActorComponent::RegisterComponentWithWorld() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\components\actorcomponent.cpp:871]
UE4Editor-Engine.dll!AActor::IncrementalRegisterComponents() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\actor.cpp:3845]
UE4Editor-Engine.dll!ULevel::IncrementalUpdateComponents() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\level.cpp:809]
UE4Editor-Engine.dll!UWorld::UpdateWorldComponents() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\world.cpp:1328]
UE4Editor-Engine.dll!UWorld::InitializeActorsForPlay() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\world.cpp:3048]
UE4Editor-Engine.dll!UGameInstance::StartPIEGameInstance() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\gameinstance.cpp:259]
UE4Editor-UnrealEd.dll!UEditorEngine::CreatePIEGameInstance() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\playlevel.cpp:3078]
UE4Editor-UnrealEd.dll!UEditorEngine::PlayInEditor() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\playlevel.cpp:2326]
UE4Editor-UnrealEd.dll!UEditorEngine::StartQueuedPlayMapRequest() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\playlevel.cpp:1101]
UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\editorengine.cpp:1251]
UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\editor\unrealed\private\unrealedengine.cpp:370]
UE4Editor.exe!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\launchengineloop.cpp:2643]
UE4Editor.exe!GuardedMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor.exe!GuardedMainWrapper() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor.exe!WinMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32.dll
ntdll.dll
ntdll.dll

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
Affects Versions4.11
Target Fix4.11.2
Fix Commit2945921
Release Commit2939724
CreatedApr 6, 2016
ResolvedApr 15, 2016
UpdatedApr 27, 2018
View Jira Issue