Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Typo in PlayPrefs Documentation.

Discussion in 'Documentation' started by larku, Mar 10, 2016.

  1. larku

    larku

    Joined:
    Mar 14, 2013
    Posts:
    1,422
    First, could Unity please add the ability to report errors in the documentation (highlight, click report problem/improvement), I'm for ever seeing typo's and erroneous information, but it's a bit silly to have to create a thread in a forum to point this out.

    This take a lot longer than it should, has no workflow, no guarantees any Unity staff will see, etc. It just makes sense as a way to improve the docs (or go all out an wiki-fy it!!!!!)
    /rant

    Anyway.... :)..

    http://docs.unity3d.com/ScriptReference/PlayerPrefs.html

    On Android data is stored (persisted) on the device. The data is saved in ShaderPreferences. C#/JavaScript, Android Java and Native code can all access the PlayerPrefs data. The PlayerPrefs data is physically stored in /data/data/pkg-name/shared_prefs/pkg-name.xml.

    Emphasis mine - I'm pretty sure that was meant to say SharedPreferences.

    This Android item is written very differently to the other items in this section.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,228
    Hey,
    To report documentation issues you can use the bug reporter. Help->Report a bug.
    No need for this one, I will pass it to the docs team.

    Thanks!
     
    larku likes this.
  3. duck

    duck

    Unity Technologies

    Joined:
    Oct 21, 2008
    Posts:
    358
    larku likes this.
  4. Laurakh

    Laurakh

    Unity Technologies

    Joined:
    Sep 29, 2015
    Posts:
    6
    This is fixed and ready to publish on the 17th June 2016 docs publish. (5.3 and 5.4, version Q.). Thank you for taking the time to tell us.
     
    larku likes this.
  5. dm_bond

    dm_bond

    Joined:
    Sep 19, 2011
    Posts:
    61
    Fixed, but since 5.5 the "ShaderPreferences" returned