Description

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

The error message and callstack closely matches to past Jiras, [Link Removed], [Link Removed], [Link Removed]

Source Context

1942       FVector FMath::ComputeBaryCentric2D(const FVector& Point, const FVector& A, const FVector& B, const FVector& C)
 1943       {
 1944       	// Compute the normal of the triangle
 1945       	const FVector TriNorm = (B-A) ^ (C-A);
 1946       
 1947       	//check collinearity of A,B,C
 1948       	check(TriNorm.SizeSquared() > SMALL_NUMBER && "Collinear points in FMath::ComputeBaryCentric2D()");
 1949       
 1950 ***** 	const FVector N = TriNorm.GetSafeNormal();
 1951       
 1952       	// Compute twice area of triangle ABC
 1953       	const float AreaABCInv = 1.0f / (N | TriNorm);
 1954       
 1955       	// Compute a contribution
 1956       	const float AreaPBC = N | ((B-Point) ^ (C-Point));
 1957       	const float a = AreaPBC * AreaABCInv;
 1958       
 1959       	// Compute b contribution
 1960       	const float AreaPCA = N | ((C-Point) ^ (A-Point));
 1961       	const float b = AreaPCA * AreaABCInv;
 1962       
 1963       	// Compute c contribution
 1964       	return FVector(a, b, 1.0f - a - b);
 1965       }
Steps to Reproduce

repro steps currently unknown

Callstack
Assertion failed: TriNorm.SizeSquared() > SMALL_NUMBER && "Collinear points in FMath::ComputeBaryCentric2D()" 
[File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Core\Private\Math\UnrealMath.cpp] [Line: 1949]

UE4Editor_Core!FMath::ComputeBaryCentric2D() [unrealmath.cpp:1951]
UE4Editor_Core!FMath::SegmentTriangleIntersection() [unrealmath.cpp:1681]
UE4Editor_MeshPaint!FMeshPaintGeometryAdapterForSkeletalMeshes::LineTraceComponent() [meshpaintskeletalmeshadapter.cpp:223]
UE4Editor_MeshPaintMode!FPaintModePainter::GetHitResult() [paintmodepainter.cpp:572]
UE4Editor_MeshPaint!IMeshPainter::RenderInteractorWidget() [imeshpainter.cpp:174]
UE4Editor_MeshPaint!IMeshPainter::RenderInteractors() [imeshpainter.cpp:41]
UE4Editor_MeshPaintMode!FPaintModePainter::Render() [paintmodepainter.cpp:126]
UE4Editor_MeshPaint!IMeshPaintEdMode::Render() [imeshpaintmode.cpp:379]
UE4Editor_UnrealEd!FEditorModeTools::Render() [editormodemanager.cpp:837]
UE4Editor_UnrealEd!FEditorViewportClient::Draw() [editorviewportclient.cpp:3591]
UE4Editor_UnrealEd!FLevelEditorViewportClient::Draw() [leveleditorviewport.cpp:4012]
UE4Editor_Renderer!FSceneRenderer::FSceneRenderer() [scenerendering.cpp:1398]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::FDeferredShadingSceneRenderer() [deferredshadingrenderer.cpp:217]
UE4Editor_Renderer!FSceneRenderer::CreateSceneRenderer() [scenerendering.cpp:1766]
UE4Editor_Renderer!FRendererModule::BeginRenderingViewFamily() [scenerendering.cpp:2246]
UE4Editor_UnrealEd!FEditorViewportClient::Draw() [editorviewportclient.cpp:3460]
UE4Editor_Engine!FViewport::Draw() [unrealclient.cpp:1207]
UE4Editor_UnrealEd!UEditorEngine::UpdateSingleViewportClient() [editorengine.cpp:2046]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1791]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:396]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3296]
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-51917 in the post.

0
Login to Vote

Fixed
ComponentUE - Simulation - Physics - Character
Affects Versions4.18
Target Fix4.18.1
Fix Commit3743601
CreatedNov 2, 2017
ResolvedNov 8, 2017
UpdatedApr 27, 2018
Pull Requests
4447 - klorberg
View Jira Issue