Description

This is an early trending crash coming out of the 4.18 previews. Users have not provided any descriptions of their actions when the crash occurred.

The callstack is similar to [Link Removed].

Source Context

241       	check(SampleQueue.IsValid());
  242       
  243       	// unregister previous external texture GUID if needed
  244 ***** 	const FGuid PlayerGuid = MediaPlayer->GetGuid();
  245       
  246       	if (PlayerGuid != LastPlayerGuid)
  247       	{
  248       		UnregisterPlayerGuid();
  249       		LastPlayerGuid = PlayerGuid;
  250       	}
Steps to Reproduce
  1. Create a MediaPlayer asset
  2. Create a MediaTexture asset
  3. Double-click the MediaTexture to open its editor
  4. Assign the MediaPlayer to the MediaTexture's 'Media Player' property
  5. Clear the MediaTexture's 'Media Player' property
  6. Assign the same MediaPlayer to the MediaTexture's 'Media Player' property again

Result: Assertion triggered

Callstack
Assertion failed: SampleQueue.IsValid() [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\MediaAssets\Private\Assets\MediaTexture.cpp] [Line: 242]

UE4Editor_MediaAssets!UMediaTexture::TickResource() [mediatexture.cpp:245]
UE4Editor_MediaAssets!FMediaTextureClockSink::TickRender() [mediatexture.cpp:45]
UE4Editor_Media!FMediaClock::TickRender() [mediaclock.cpp:86]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3329]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentMedia Framework
Affects Versions4.18
Target Fix4.18.1
Fix Commit3734253
CreatedOct 10, 2017
ResolvedNov 2, 2017
UpdatedApr 27, 2018
Pull Requests
4447 - klorberg
View Jira Issue