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.