Skip to content

SourceSection not filled in UE 5.4.4 => Crash #36

@soma-web

Description

@soma-web

I added some Logs for debugging and do get the following Error:
LogTemp: Error: SourceSection.FirstIndex + i >= SourceIndicesSize BP_PaintPanel_C_15

FurStaticData.cpp (Line 650 following)

		else
				{			
					for (uint32 i = 0; i < SourceSection.NumTriangles * 3; ++i)
					{
						const uint32 SourceIndicesSize = SourceIndices.Num();
						if((SourceSection.FirstIndex + i) >= SourceIndicesSize)
						{
							UE_LOG(LogTemp, Error, TEXT("SourceSection.FirstIndex + i >= SourceIndicesSize %s"), *Parent->GetName());
							continue;
						}
						const uint32 IndicesSize = Indices.Num();
						const uint32 Index = Idx++;
						if(Index >= IndicesSize)
						{
							UE_LOG(LogTemp, Error, TEXT("Idx >= IndicesSize %s"), *Parent->GetName());
							continue;
						}
						Indices[Index] = SourceIndices[SourceSection.FirstIndex + i] + VertexIndexOffset;
					}
				}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions