Description

the editor Crashes when trying to "Update Mesh Section" on any procedural mesh just after "Clear Mesh Section" and "Create Mesh Section" for different vertices and triangles.

Found in 4.19 CL# 4033788, 4.20 Preview 2 CL# 4121666, 4.21 CL# 4131780

Steps to Reproduce
  1. Open attached project
  2. Play in editor
  3. Press space

Results:
The editor will crash

Expected:
The procedural meshes verts and tris would be changed as the custom event set them.

Callstack

Fatal error: [Link Removed] [Line: 826]
Rendering thread exception:
Assertion failed: (void*)((&ElementData[VertexIndex]) + 1) <= (void*)(TangentsDataPtr + TangentsData->GetResourceSize()) [Link Removed] [Line: 281]

KERNELBASE.dll!UnknownFunction []
UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [f:\release\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
UE4Editor-Core.dll!FOutputDevice::LogfImpl() [f:\release\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
UE4Editor-Core.dll!FDebug::AssertFailed() [f:\release\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
UE4Editor-ProceduralMeshComponent.dll!FProceduralMeshSceneProxy::UpdateSection_RenderThread() [f:\release\engine\plugins\runtime\proceduralmeshcomponent\source\proceduralmeshcomponent\private\proceduralmeshcomponent.cpp:211]
UE4Editor-ProceduralMeshComponent.dll!TGraphTask<`UProceduralMeshComponent::UpdateMeshSection'::`37'::EURCMacro_FProcMeshSectionUpdate>::ExecuteTask() [f:\release\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksNamedThread() [f:\release\engine\source\runtime\core\private\async\taskgraph.cpp:665]
UE4Editor-Core.dll!FNamedTaskThread::ProcessTasksUntilQuit() [f:\release\engine\source\runtime\core\private\async\taskgraph.cpp:574]
UE4Editor-RenderCore.dll!RenderingThreadMain() [f:\release\engine\source\runtime\rendercore\private\renderingthread.cpp:333]
UE4Editor-RenderCore.dll!FRenderingThread::Run() [f:\release\engine\source\runtime\rendercore\private\renderingthread.cpp:467]
UE4Editor-Core.dll!FRunnableThreadWin::Run() [f:\release\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]
UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() [f:\release\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:33]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

6
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.194.204.21
Target Fix4.21
Fix Commit4439856
Main Commit4450599
Release Commit4439856
CreatedJun 15, 2018
ResolvedOct 9, 2018
UpdatedMay 17, 2019