Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Hi, the level sequence editor crashes a lot when moving around/copy pasting ak events.

Callstack:

[2020.05.06-09.02.54:458][274]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2020.05.06-09.02.56:944][274]LogWindows: Error: === Critical error: ===
[2020.05.06-09.02.56:944][274]LogWindows: Error: 
[2020.05.06-09.02.56:944][274]LogWindows: Error: Fatal error: [File:P:/JH/workspace/XX/Engine/UE-XX/Engine/Source/Runtime/CoreUObject/Private/Templates/Casts.cpp] [Line: 10] 
[2020.05.06-09.02.56:944][274]LogWindows: Error: Cast of SkeletalMeshComponent /Game/Maps/Game/Sectors/XXXX/XXXX.XXXX:PersistentLevel.XXXX_Cutscene_0.SkeletalMeshComponent0 to Actor failed
[2020.05.06-09.02.56:944][274]LogWindows: Error: 
[2020.05.06-09.02.56:944][274]LogWindows: Error: 
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007ff83ae3a799 KERNELBASE.dll!UnknownFunction []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007ffff967a736 UE4Editor-Core.dll!ReportAssert() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007ffff967dbd8 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007ffff9432bfd UE4Editor-Core.dll!FOutputDevice::LogfImpl() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007ffffdb0e363 UE4Editor-CoreUObject.dll!CastLogError() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007fffcf90ad1d UE4Editor-AkAudio.dll!CastChecked<AActor,UObject>() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007fffcfa4db1c UE4Editor-AkAudio.dll!WwiseEventTriggering::TriggerScrubSnippet() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007fffcf9fe67b UE4Editor-AkAudio.dll!FMovieSceneAkAudioEventSectionData::ObjectBindingScrub() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007fffcfa527a0 UE4Editor-AkAudio.dll!FMovieSceneAkAudioEventSectionData::Update() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007fffcf9bdc63 UE4Editor-AkAudio.dll!FAkAudioEventExecutionToken::Execute() []
[2020.05.06-09.02.56:944][274]LogWindows: Error: [Callstack] 0x00007ffff7ec22ed UE4Editor-MovieScene.dll!FMovieSceneExecutionTokens::Apply() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ffff7edfb73 UE4Editor-MovieScene.dll!FMovieSceneRootEvaluationTemplateInstance::EvaluateGroup() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ffff7edd3df UE4Editor-MovieScene.dll!FMovieSceneRootEvaluationTemplateInstance::Evaluate() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007fffdffbb078 UE4Editor-Sequencer.dll!FSequencer::EvaluateInternal() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007fffe0027b36 UE4Editor-Sequencer.dll!FSequencer::SetGlobalTime() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007fffdefdac93 UE4Editor-MovieSceneTools.dll!FCinematicShotTrackEditor::Tick() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007fffe003367e UE4Editor-Sequencer.dll!FSequencer::Tick() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007fffe408872d UE4Editor-UnrealEd.dll!FTickableEditorObject::TickObjects() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007fffe443a43d UE4Editor-UnrealEd.dll!UEditorEngine::Tick() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007fffe4c9ea66 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ff674f67f62 UE4Editor.exe!FEngineLoop::Tick() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ff674f7c3fc UE4Editor.exe!GuardedMain() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ff674f7c4da UE4Editor.exe!GuardedMainWrapper() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ff674f8ce99 UE4Editor.exe!WinMain() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ff674f8fc9e UE4Editor.exe!__scrt_common_main_seh() []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ff83c7d7bd4 KERNEL32.DLL!UnknownFunction []
[2020.05.06-09.02.56:945][274]LogWindows: Error: [Callstack] 0x00007ff83db2ce51 ntdll.dll!UnknownFunction []
[2020.05.06-09.02.56:945][274]LogWindows: Error: 
[2020.05.06-09.02.56:957][274]LogExit: Executing StaticShutdownAfterError
[2020.05.06-09.02.56:975][274]LogWindows: FPlatformMisc::RequestExit(1)
[2020.05.06-09.02.56:975][274]LogCore: Engine exit requested (reason: Win RequestExit)
[2020.05.06-09.02.56:985][274]Log file closed, 05/06/20 11:02:56


From looking at the code, this is a silly mistake:
TriggerScrubSnippet

auto Actor = CastChecked<AActor>(Object);

if (IsValid(Actor))

CastChecked crashes if the cast fails, and then the next line we check if it's valid.
Perhaps it should not cast checked?

in General Discussion by Arcade B. (160 points)

Please sign-in or register to answer this question.

...