Saving Texture2D for webplayer to web

Easy Save 2 has been replaced by Easy Save 3, so is no longer supported.
marbas
Posts: 8
Joined: Fri Jun 14, 2013 2:48 pm

Re: Saving Texture2D for webplayer to web

Post 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.
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Saving Texture2D for webplayer to web

Post 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
marbas
Posts: 8
Joined: Fri Jun 14, 2013 2:48 pm

Re: Saving Texture2D for webplayer to web

Post by marbas »

So I changed the BLOB to medium in the SQL structure, and now it successfully stores my texture (~500Kb).

Great! Thanks again :)
Locked