This version of Unity is unsupported.

TextAsset.dataSize

Switch to Manual
public long dataSize;

Description

The size of the text asset data in bytes. (Read Only)

See Also: GetData, bytes, Text Assets.