Crash of Editor : New Geometry Script VS 'legacy' procedural mesh component

Hello,

I know that Geometry script is still at early stage of developpement but i want to share my experience with you to be sure i’m not doing something in the wrong way.

I want to create a simple 2 triangle mesh including setup UV

When using the ‘legacy’ procedural mesh component / add mesh section function it work fine :

But i want to use the new geometry script tools so i tried to create the SAME simple mesh using a dynamic mesh actor / append buffers to mesh function.

The mesh creation work fine :

But as soon as i try to setup UV using the SAME setup as above the editor CRASH :

The message of the crash is :

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 691] Array index out of bounds: 0 from an array of size 0

Am i doing something wrong or is it just a bug of a still experimental library ?

Thanks for your help

1 Like

Replying to myself.

The bug was quiclky take into account by Epic UE Developpers Team and will be fixed in the next release 5.0.3 (alreday available on the git repo)

Thanks a lot !

So if you are facing some crash on the engine, some reproductible crash do not hesitate to report the bug, it can be very efficient and help everyone!

3 Likes