I’ve updated to preview 30 and I am getting InvalidOperationExceptions thrown from ClearStaticTypeLookup. The exceptions only occur for generic IComponentData structs and IComponentData structs contained within an abstract generic component system.
Yeah, I pulled generic component data from my project for now. Definitely causes errors in preview30.
They are on the fence about supporting generic components. Source:
Well glad it’s not just me.
Not supporting generic IComponentData definitely adds some tedium for some patterns of use. I have some abstract generic systems that do simple tasks like initializing entities. They use private inner IComponentData to then use as an exclusion criteria in their EntityQuery. Nothing fancy, but now I’ll need to break my simple abstraction to get rid of the generic IComponentData…
1 Like