Unity Engine documentationScript ReferenceUnityEngineTextAssetdataSizeThe size of the text asset data in bytes. (Read Only)Read time 1 minuteLast updated 6 days agoDefinition Type: Property Namespace: UnityEngine Assembly: UnityEngine.CoreModule public long dataSize { get; } Remarks Additional Resources: TextAsset.GetData, TextAsset.bytes, Text Assets.