Is there any way to define a string inside a IComponentData? I've tried to use
public struct HouseComponent : IComponentData
{
public string districtName;
public int value;
}
but I get:
HouseComponent contains a field of System.String, which is neither primitive nor blittable.
I really do need a string to identify the Entities (Same house prefabs are atributed to different district with a unique name)