Search Unity

m_PreloadTextureAtlasData.size () == m_DetailPrototypes.size ()

Discussion in 'Editor & General Support' started by IamKevinRichardson, Sep 1, 2015.

  1. IamKevinRichardson

    IamKevinRichardson

    Joined:
    Feb 5, 2014
    Posts:
    52
    Hey Everyone! I just added in two new grass textures in PNG format and everytime I save I get this error message

    m_PreloadTextureAtlasData.size () == m_DetailPrototypes.size ()

    and only the two new textures disappear from the terrain.

    I can make it reappear by adding the grass somewhere else then Ctrl-z to undo it. This causes all the new grass to reappear where I had previously placed it. But once I save again, I get the error and the only new grass types disappear again.

    I tried changing the image size to 512, changing the file types from psd to png. I still get this error. What the dilly is going on yo?
     
  2. bartm4n

    bartm4n

    Joined:
    Jun 20, 2013
    Posts:
    57
    I am having this issue also
     
  3. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Posts:
    3,350
    Just noticed this as well.
     
  4. bartm4n

    bartm4n

    Joined:
    Jun 20, 2013
    Posts:
    57
    I would really appreciate some elaboration on what this error means. Is there a bug report already filed that I missed?
     
  5. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,197
    Bump, I'm having this as well!
     
  6. RotorGameContent

    RotorGameContent

    Joined:
    Jan 17, 2018
    Posts:
    6
    Unity atlasses terrain detail behind the scenes. I noticed this error comes up when I have too much terrain detail. You probably need to either remove terrain detail object prototypes from the component view, or reduce the texture size of your terrain detail objects.
     
    Last edited: Jan 18, 2018