get_streamingAssetsPath is not allowed to be called from a MonoBehaviour constructor (or instance field initializer), call it in Awake or Start instead. Called from MonoBehaviour 'DataDemo' on game object 'Cube'.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.Application:get_streamingAssetsPath()
DataDemo:.ctor()
这个报错,是unity5.4以后新引入的异常。类似Application.streamingAssetsPath 这个不能需要写在Start或者Awake里了。
这很鸡肋