Entering play mode in a scene containing only a GameObject having only a ConvertToEntity component and a generated authoring component causes the editor to crash without invoking the crash handler. This occurs for me using both Unity 2019.3.0f6 and 2019.3.3f1 with only the Entities 0.6.0-preview.24 package added.
GameObject:
Test Component:
[GenerateAuthoringComponent]
public struct Test : IComponentData
{
}
The crash is occurring when attempting to JIT compile the Convert method of the generated authoring component as shown below:
The failed assert message before the abort is as follows:
- Assertion at …\mono\metadata\metadata.c:1117, condition `idx < t->rows’ not met
Creating an authoring component manually does workaround the issue, but does not seem like the best option moving forward.
Is anyone else seeing this issue? Is there a resolution I missed somewhere?
5533756–568804–ECSTest.zip (18.5 KB)