I want to keep player name in IComponentData
public struct PlayerNameTag : IComponentData {
public string playerName;
}
but I get the following error: ArgumentException: Components.UITags.Creation.PlayerPortraitTag contains a field of System.String, which is neither primitive nor blittable.
Where I must keep string datas?