Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences.

Error message:

Assertion failed: IsValid() [Link Removed] [Line: 780]

Source Context:

 1873       
 1874       			SpeedTreeWindComputationMap.Remove(StaticMesh);
 1875       			WindComputation->UniformBuffer.ReleaseResource();
 1876       			delete WindComputation;
 1877       		}
 1878       	}
 1879       }
 1880       
 1881       void FScene::UpdateSpeedTreeWind(double CurrentTime)
 1882       {
 1883       #define SET_SPEEDTREE_TABLE_FLOAT4V(name, offset) \
 1884       	UniformParameters.name = *(FVector4*)(WindShaderValues + FSpeedTreeWind::offset); \
 1885       	UniformParameters.Prev##name = *(FVector4*)(WindShaderValues + FSpeedTreeWind::offset + FSpeedTreeWind::NUM_SHADER_VALUES);
 1886       
 1887 ***** 	ENQUEUE_UNIQUE_RENDER_COMMAND_TWOPARAMETER(
 1888       		FUpdateSpeedTreeWindCommand,
 1889       		FScene*,Scene,this,
 1890       		double,CurrentTime,CurrentTime,
 1891       		{
 1892       			FVector WindDirection;
 1893       			float WindSpeed;
 1894       			float WindMinGustAmt;
 1895       			float WindMaxGustAmt;
 1896       			Scene->GetDirectionalWindParameters(WindDirection, WindSpeed, WindMinGustAmt, WindMaxGustAmt);
 1897       
 1898       			for (TMap<const UStaticMesh*, FSpeedTreeWindComputation*>::TIterator It(Scene->SpeedTreeWindComputationMap); It; ++It )
 1899       			{
 1900       				const UStaticMesh* StaticMesh = It.Key();
 1901       				FSpeedTreeWindComputation* WindComputation = It.Value();
 1902       

Most recent user affected CL: 3172292

Logs:
[Link Removed]
[Link Removed]
[Link Removed]


CrashReporter User Descriptions:

  • deleted speedtree SM and materials - not forced
  • force deleted speedtree asset - textures were referenced
Steps to Reproduce

Force delete an instanced SpeedTree Asset

Callstack
UE4Editor_Renderer!`FScene::UpdateSpeedTreeWind'::`2'::EURCMacro_FUpdateSpeedTreeWindCommand::DoTask() [rendererscene.cpp:1888]
UE4Editor_Renderer!TGraphTask<`FScene::UpdateSpeedTreeWind'::`2'::EURCMacro_FUpdateSpeedTreeWindCommand>::ExecuteTask() [taskgraphinterfaces.h:868]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:932]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:679]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:319]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:440]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:74]

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-38494 in the post.

0
Login to Vote

Fixed
ComponentRendering
Affects Versions4.114.124.134.14
Target Fix4.15
Fix Commit3204968
Main Commit3219854
CreatedNov 10, 2016
ResolvedNov 19, 2016
UpdatedApr 27, 2018