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.

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

    Unity Technologies

    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:
    505
    Has this been fixed?