#[BUG] EntitiesGraphics 1.2.0-pre.12. Renderer conversion failed on assets with 11+ materials.

1 messages · Page 1 of 1 (latest)

heavy edge
#

Baking of MeshRenderer and SkinnedMeshRenderer with more than 10 materials failed with an assertion.
Can be very easily reproduced. Primitive subscene with a single cube and 11+ material in the MeshRenderer list. After this subscene become corrupted and produce Loading Entity Scene failed because the entity header file couldn't be resolved error.

For MeshRenderers, there is an easy workaround by using the ENABLE_MESH_RENDERER_SUBMESH_DATA_SHARING script symbol. There is no workaround for SkinnedMeshRenderers though.

#

IN-69941

graceful falcon
#

Hey @frail ice @lavish scroll @proper birch (sorry for the scattered @'s was unsure who to exactly refer to for graphics!)

This seems like a regression/bug that should probably be checked out as when we initially checked pre.12 from pre.6 and was hit by this bug, it was extremely hard to deduce that this was the problem - needle in haystack for us, but also means we'll have to change some of the way we're handling materials per mesh if this bug persists.

frail ice
#

Thanks, I've passed this along to the graphics team

proper birch
#

@heavy edge I'm looking into this.

heavy edge
proper birch
#

Not sure why that is. I reproduced it here easily

#

@heavy edge So then, is it right to understand that this doesn't happen with pre6?

heavy edge
proper birch
#

@heavy edge Alright, that could help narrow it down. Thanks!