So I changed the BLOB to medium in the SQL structure, and now it successfully stores my texture (~500Kb).
Great! Thanks again
Search found 8 matches
- Tue Jun 18, 2013 2:20 pm
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Saving Texture2D for webplayer to web
- Replies: 12
- Views: 18911
- Tue Jun 18, 2013 10:34 am
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Saving Texture2D for webplayer to web
- Replies: 12
- Views: 18911
Re: Saving Texture2D for webplayer to web
http://stackoverflow.com/questions/5775571/what-is-the-maximum-length-of-data-i-can-put-in-a-blob-column-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 ...
- Tue Jun 18, 2013 10:30 am
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Saving Texture2D for webplayer to web
- Replies: 12
- Views: 18911
Re: Saving Texture2D for webplayer to web
I guess that my database must be config for a maximum of 64kb BLOB dataset. PHP and database it's all a bit new to me. Im not sure how to increase this. I'll google a bit around
- Sun Jun 16, 2013 11:06 pm
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Saving Texture2D for webplayer to web
- Replies: 12
- Views: 18911
Re: Saving Texture2D for webplayer to web
Btw, on the matter of image upload. Is there a size limit? In my previous experiments I often ended up with a maximum of 64kb stored on the server. Is this the limit of the upload data size?
- Sun Jun 16, 2013 11:01 pm
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Saving Texture2D for webplayer to web
- Replies: 12
- Views: 18911
Re: Saving Texture2D for webplayer to web
Thank you Joel! This example is greatly appreciated. I tried some more myself, but couldn't get it to work in the webplayer (was trying to save to disk after the download, like in the INT example) Did a quickrun on the example prefab and setup my php parameters. Works good on webplayer :D Haven't im...
- Fri Jun 14, 2013 4:52 pm
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Saving Texture2D for webplayer to web
- Replies: 12
- Views: 18911
Re: Saving Texture2D for webplayer to web
Thank you Joel
- Fri Jun 14, 2013 3:53 pm
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Saving Texture2D for webplayer to web
- Replies: 12
- Views: 18911
Re: Saving Texture2D for webplayer to web
Thanks for the fast reply. Actually I am most interested in the upload/download of the Texture2D part. There are different approaches to screencapture floating around on the web (that does not use Application.Capturescreenshot()). So I assume some of these would work on the webplayer? If you do get ...
- Fri Jun 14, 2013 3:01 pm
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Saving Texture2D for webplayer to web
- Replies: 12
- Views: 18911
Saving Texture2D for webplayer to web
Hi. I have a simple webplayer game that I would like to add a feature to save a screenshot to my server. I have bought Easysave, setup unity and php on the sever correctly according to the documentation. What I want to do is to upload a Texture2D datatype (containing the screenshot) to mySQL and (la...