Description

This is not a regression. Tested in //UE4/Release-4.27 CL 18319896 

Making changes to a Camera Shake while previewing the Camera Shake triggers an Assertion upon compiling.

Steps to Reproduce
  1. Create or open any Project
  2. Create and open a Blueprint derived from Camera Shake Base named 'BP_Shake'
    1. Set Root Shake Pattern to Perlin Noise Camera Shake Pattern
    2. Set FOV Amplitude and Frequency to 3.0
    3. Under Timing set Duration to 0.0
    4. Compile and Save the Blueprint
  3. In the level place a Camera Shake Source Actor
  4. In the Source Actor's details panel set Camera Shake to BP_Shake
  5. Ensure the Camera is in range to be affected by the Camera Shaker
  6. In the Viewport Options enable Allow Camera Shakes
  7. In the Menu select Window > Cinematics > Camera Shake Previewer
  8. Select the Camera Shake Source then press play
  9. Go back to BP_Shake
  10. Change FOV Amplitude(or any value) to 1.0(any amount) then compile

Expected Results:
The Shake is updated or the previewer is paused.

Actual Results:
The Editor crashes with an Assertion:

State.IsActive() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Camera\CameraShakeBase.cpp] [Line: 230] Updating a camera shake that wasn't started with a call to StartShake!
Callstack
=== Critical error: ===

Assertion failed: State.IsActive() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Camera\CameraShakeBase.cpp] [Line: 230] 
Updating a camera shake that wasn't started with a call to StartShake!


[Callstack] 0x00007ffd6d587e21 UnrealEditor-Engine.dll!UCameraShakeBase::UpdateAndApplyCameraShake() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Camera\CameraShakeBase.cpp:230]
[Callstack] 0x00007ffd6d56d514 UnrealEditor-Engine.dll!UCameraModifier_CameraShake::ModifyCamera() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Camera\CameraModifier_CameraShake.cpp:57]
[Callstack] 0x00007ffd4835c78a UnrealEditor-CameraShakePreviewer.dll!FCameraShakePreviewUpdater::ModifyCamera() [D:\build\++UE5\Sync\Engine\Plugins\Cameras\CameraShakePreviewer\Source\CameraShakePreviewer\Private\SCameraShakePreviewer.cpp:102]
[Callstack] 0x00007ffd4835364c UnrealEditor-CameraShakePreviewer.dll!TBaseRawMethodDelegateInstance<0,SCameraShakePreviewer,void __cdecl(FEditorViewportViewModifierParams &),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:470]
[Callstack] 0x00007ffd8f08a79f UnrealEditor-UnrealEd.dll!FEditorViewportClient::CalcSceneView() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorViewportClient.cpp:892]
[Callstack] 0x00007ffd8f4d1301 UnrealEditor-UnrealEd.dll!FLevelEditorViewportClient::CalcSceneView() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\LevelEditorViewport.cpp:1904]
[Callstack] 0x00007ffd8f094b50 UnrealEditor-UnrealEd.dll!FEditorViewportClient::Draw() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorViewportClient.cpp:3941]
[Callstack] 0x00007ffd6ecab462 UnrealEditor-Engine.dll!FViewport::Draw() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\UnrealClient.cpp:1615]
[Callstack] 0x00007ffd8f014379 UnrealEditor-UnrealEd.dll!UEditorEngine::UpdateSingleViewportClient() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:2267]
[Callstack] 0x00007ffd8f00e8f9 UnrealEditor-UnrealEd.dll!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1949]
[Callstack] 0x00007ffd8f999f56 UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:474]
[Callstack] 0x00007ff7d4fa82f6 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5215]
[Callstack] 0x00007ff7d4fc0d9c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
[Callstack] 0x00007ff7d4fc0e8a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
[Callstack] 0x00007ff7d4fc3c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
[Callstack] 0x00007ff7d4fd5534 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
[Callstack] 0x00007ff7d4fd86e6 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[Callstack] 0x00007ffe08eb7c24 KERNEL32.DLL!UnknownFunction []
[Callstack] 0x00007ffe0abed721 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-153643 in the post.

0
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions5.0.1
Target Fix5.1
Fix Commit20366330
Main Commit20366330
CreatedMay 23, 2022
ResolvedMay 25, 2022
UpdatedMay 29, 2022
View Jira Issue