Page 2 of 2

Re: Saving Texture2D for webplayer to web

Posted: Tue Jun 18, 2013 10:34 am
by marbas
http://stackoverflow.com/questions/5775 ... n-in-mysql

A BLOB can be 65535 bytes maximum. If you need more consider using a MEDIUMBLOB for 16777215 bytes or a LONGBLOB for 4294967295 bytes. See Storage Requirements for String Types for more info.

Is this correct Joel? Seems to match my max BLOB size of 64kb.

Re: Saving Texture2D for webplayer to web

Posted: Tue Jun 18, 2013 11:36 am
by Joel
Hi marbas,

Turns out it was at our end; I think I must've changed it from a MEDIUMBLOB to a normal BLOB by accident last time I modified the MySQL file.

I'll submit an update to address this later today, though for the time being you can manually change the BLOB field to a MEDIUMBLOB field, and this should fix the issue.

All the best,
Joel

Re: Saving Texture2D for webplayer to web

Posted: Tue Jun 18, 2013 2:20 pm
by marbas
So I changed the BLOB to medium in the SQL structure, and now it successfully stores my texture (~500Kb).

Great! Thanks again :)