Error Message -
Assertion failed: !Value || Value->IsValidLowLevel() [File[Image Removed]:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Runtime\Engine\Private\Materials\MaterialUniformExpressions.cpp] [Line: 356] Texture not valid! [Link Removed]! Parameter (Weightmap0)
Source Context -
339 340 void** ResourceTable = (void**)((uint8*)TempBuffer + UniformBufferStruct->GetLayout().ResourceOffset); 341 check(((UPTRINT)ResourceTable & 0x7) == 0); 342 343 check(UniformBufferStruct->GetLayout().Resources.Num() == Uniform2DTextureExpressions.Num() * 2 + UniformCubeTextureExpressions.Num() * 2 + 2); 344 345 // Cache 2D texture uniform expressions. 346 for(int32 ExpressionIndex = 0;ExpressionIndex < Uniform2DTextureExpressions.Num();ExpressionIndex++) 347 { 348 const UTexture* Value; 349 ESamplerSourceMode SourceMode; 350 Uniform2DTextureExpressions[ExpressionIndex]->GetTextureValue(MaterialRenderContext,MaterialRenderContext.Material,Value,SourceMode); 351 352 // gmartin: Trying to locate UE-17608 353 ***** checkf(!Value || Value->IsValidLowLevel(), TEXT("Texture not valid! UE-17608! Parameter (%s)"), 354 Uniform2DTextureExpressions[ExpressionIndex]->GetType() == &FMaterialUniformExpressionTextureParameter::StaticType ? 355 *((FMaterialUniformExpressionTextureParameter&)*Uniform2DTextureExpressions[ExpressionIndex]).GetParameterName().ToString() : TEXT("non-parameter")); 356 357 if (Value && Value->Resource) 358 { 359 //@todo-rco: Help track down a invalid values 360 checkf(Value->IsA(UTexture::StaticClass()), TEXT("Expecting a UTexture! Value='%s' class='%s'"), *Value->GetName(), *Value->GetClass()->GetName()); 361 362 // UMaterial / UMaterialInstance should have caused all dependent textures to be PostLoaded, which initializes their rendering resource 363 checkf(Value->TextureReference.TextureReferenceRHI, TEXT("Texture %s of class %s had invalid texture reference"), *Value->GetName(), *Value->GetClass()->GetName()); 364 365 *ResourceTable++ = Value->TextureReference.TextureReferenceRHI; 366 FSamplerStateRHIRef* SamplerSource = &Value->Resource->SamplerStateRHI; 367 368 if (SourceMode == SSM_Wrap_WorldGroupSettings)
Most Recent CL - 2758231
Logs -
[Link Removed]
[Link Removed]
[Link Removed]
Similar Jira - [Link Removed] [Link Removed] [Link Removed]
User Descriptions -
Unknown.
UE4Editor_Engine!FUniformExpressionSet::CreateUniformBuffer() [materialuniformexpressions.cpp:354] UE4Editor_Engine!FMaterialRenderProxy::EvaluateUniformExpressions() [materialshared.cpp:1594] UE4Editor_Engine!<lambda_750448c5cd9789c3d5618b9eb116be51>::operator() [materialshared.cpp:1626] UE4Editor_Engine!FMaterialRenderProxy::CacheUniformExpressions() [materialshared.cpp:1610] UE4Editor_Engine!TGraphTask<`FMaterialRenderProxy::CacheUniformExpressions_GameThread'::`5'::EURCMacro_FCacheUniformExpressionsCommand>::ExecuteTask() [taskgraphinterfaces.h:779] UE4Editor_Core!FTaskThread::ProcessTasks() [taskgraph.cpp:539] UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:340] UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:310] UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:411] UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:74]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-23902 in the post.
1 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.10 |
Target Fix | 4.13 |
Created | Nov 30, 2015 |
---|---|
Resolved | Aug 11, 2016 |
Updated | Mar 24, 2023 |