问题:`System.IO.File' does not contain a definition for `ReadAllBytes'
解决:
这是由于unity的build settings默认指定web player平台,而非standalone build。
file->build settings->选中相应的平台->switch platform即可。
参考资料:
转载于:https://www.cnblogs.com/xiaobalang/p/6332868.html