It's because you're using the FileStream class. The wording in the error message is a bit tricky, it's caught me out before too.> The supported APIs test detected the following errors: ◦API ***System.IO.FileStream*** in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 ***is not supported*** for this application type. ***Assembly-UnityScript.dll calls this API***.
FileStream isn't supported for Windows 8 Store apps. If you're using FileStream to do game saves or to save config data, use PlayerPrefs instead (it's a form of file i/o with a cross-platform wrapper around it).
↧