Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

GetSpectrumData() documentation accessible by search but not by browsing doc

Discussion in 'Documentation' started by marabot, Jul 22, 2015.

  1. marabot

    marabot

    Joined:
    Apr 17, 2015
    Posts:
    1
  2. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    That's really odd. I guess is a bug... I'll do some homework.. Strange.
     
  3. duck

    duck

    Unity Technologies

    Joined:
    Oct 21, 2008
    Posts:
    358
    Graham has passed this on to me to look into. So far it does seem to be a bug in the way our docs are published. I think this function has had a new signature implemented (a non alloc version where you pass in an array to be filled), and the old signature has been obsoleted (where the function returns a new array, and causes memory allocation).

    The way our doc build process omits obsoleted functions seems to have tripped over the fact that this function exists with both an obsolete signature and a currently valid signature. I'll post another update here when I've made progress on this.

    FYI this also seems to be the case for the similar function "GetOutputData".
     
    Graham-Dunnett likes this.
  4. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    516
    Has this been fixed?