Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

[WP8] Reference rewriter error

Discussion in 'Windows' started by MartinLaursen, Nov 4, 2015.

  1. MartinLaursen


    Jun 11, 2015

    We have a Windows Phone 8 projects that has been working fine in the last couple of months, without any issue. We been using classes from System.IO without any problem, like the classes FileInfo and DirectoryInfo.

    Now we have upgraded Unity from 4.6.8 to 5.2.2, and suddenly errors were introduced. We are able to build the Unity projects and a Visual Studio solution is made as per usual, but when Unity finished building errors are shown the in console. (The build seems to complete anyways)

    The errors seem to relate to FileInfo and DirectoryInfo, and when we deploy the application on a device, our app can not read and write to disk using this functionality.

    We receive 3 errors, looking like this:
    As mentioned earlier, we did not have any issues until updating unity version. Any input appreciated.

    Kind regards,