Description

Error message:

Access violation - code c0000005 (first/second chance not available)

Source Context:

  336       	
  337       	if (bHasRotationKeys)
  338       	{
  339       		TSharedRef<FStructOnScope> KeyStruct = MakeShareable(new FStructOnScope(FMovieScene3DRotationKeyStruct::StaticStruct()));
  340       		auto Struct = (FMovieScene3DRotationKeyStruct*)KeyStruct->GetStructMemory();
  341       		{
  342       			for (int32 Index = 0; Index <= 2; ++Index)
  343       			{
  344       				if(RotationKeys[Index] != nullptr)
  345       				{
  346       					Struct->RotationKeys[Index] = RotationKeys[Index];
  347       				}
  348       			}
  349       
  350 ***** 			Struct->Rotation.Pitch = Struct->RotationKeys[0]->Value;
  351       			Struct->Rotation.Yaw = Struct->RotationKeys[1]->Value;
  352       			Struct->Rotation.Roll = Struct->RotationKeys[2]->Value;
  353       		}
  354       
  355       		return KeyStruct;
  356       	}
  357       	
  358       	if (bHasScaleKeys)
  359       	{
  360       		TSharedRef<FStructOnScope> KeyStruct = MakeShareable(new FStructOnScope(FMovieScene3DScaleKeyStruct::StaticStruct()));
  361       		auto Struct = (FMovieScene3DScaleKeyStruct*)KeyStruct->GetStructMemory();
  362       		{
  363       			for (int32 Index = 0; Index <= 2; ++Index)
  364       			{
  365       				if(ScaleKeys[Index] != nullptr)

Most recent user affected CL:
3039270

Logs:
Attached


CrashReporter User Descriptions:

Steps to Reproduce

1. Create a level sequence
2. Add a camera from the menu in sequencer
3. Add a transform key to the CineCameraActor at 0 seconds
4. Right click the key and change it to Linear Interpolation
5. Expand the Transform Track, then expand rotation
6. Move to another frame (I did 25) and type a value for Rotate Z (should create a key at 25)
7. Collapse the Transform track
8. Right click on the key at 25

Result: Crash
Expected: Brings up right click menu for a key

Callstack
UE4Editor_MovieSceneTracks!UMovieScene3DTransformSection::GetKeyStruct() [moviescene3dtransformsection.cpp:351]
UE4Editor_Sequencer!FGroupedKeyArea::GetKeyStruct() [groupedkeyarea.cpp:658]
UE4Editor_Sequencer!FKeyContextMenu::CanAddPropertiesMenu() [sequencercontextmenus.cpp:169]
UE4Editor_Sequencer!FKeyContextMenu::PopulateMenu() [sequencercontextmenus.cpp:39]
UE4Editor_Sequencer!FKeyContextMenu::BuildMenu() [sequencercontextmenus.cpp:30]
UE4Editor_Sequencer!SequencerHelpers::SummonContextMenu() [sequencercommonhelpers.cpp:368]
UE4Editor_Sequencer!FSequencerEditTool_Movement::OnMouseButtonUp() [sequenceredittool_movement.cpp:215]
UE4Editor_Sequencer!FSequencerInputHandlerStack::ProcessEvent() [sequencerinputhandlerstack.h:96]
UE4Editor_Sequencer!FSequencerInputHandlerStack::HandleMouseButtonUp() [sequencerinputhandlerstack.h:55]
UE4Editor_Sequencer!SSequencerTrackArea::OnMouseButtonUp() [ssequencertrackarea.cpp:214]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() [slateapplication.cpp:4598]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:4587]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5041]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5021]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1510]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1850]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:745]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:667]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:903]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2729]
UE4Editor!GuardedMain() [launch.cpp:148]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.124.13
Target Fix4.13
Fix Commit3077781
Main Commit3092051
Release Commit3077781
CreatedAug 3, 2016
ResolvedAug 4, 2016
UpdatedApr 27, 2018