Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Saving Games on Windows Store Universal app

Discussion in 'Windows' started by Kulgann, Jul 9, 2015.

  1. Kulgann

    Kulgann

    Joined:
    Oct 17, 2014
    Posts:
    15
    For the last 3 days I have been trying to adapt my current solution(that works on iOS and android) to work for the windows store. I have not had much success. Now i have cleaned my project from all previous dlls plugins and what not. I need a clear solution that will serialize my GameData class that holds Lists and Dictionary's and save it to a file on the device. If someone can provide such a solution I would be very grateful.
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,642
  3. Kulgann

    Kulgann

    Joined:
    Oct 17, 2014
    Posts:
    15
    My issue is that I cant find a way that will serialize my object to a file and then write that file to the system that will build. I tried using XMLserializer, protobuff-net and so on and nothing seems to be able to build since I always get missing references for the target system. Also I cant seem to see the plugin import settings. In my editor I just see a plugin with no settings.
     
  4. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,642
    Which Unity version are you using?
     
  5. Kulgann

    Kulgann

    Joined:
    Oct 17, 2014
    Posts:
    15
    I'm using 4.6.7f1.
     
  6. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,642
    In such case you don't have plugin inspector yet, you have to place your splugins to specific directories:

    Assets/plugins <- plugins for editor
    Assets/plugins/metro <- plugins for windows store

    You need two versions of plugin, each placed to corresponding directory.