Quantcast
Channel: Questions in topic: "unitywebplayer"
Viewing all articles
Browse latest Browse all 452

Can't figure out settings for WWWForm in browser (webplayer)

$
0
0
Hello all! I can't for the life of me figure out what I'm supposed to do to get POST functions to work when I build for webplayer. There have been several different posts from people with the same problem, but seemingly no working solutions in them. The skinny: 1. Everything works fine in editor/windows build. 2. I use the form about as standard-ly as you can imagine. 3. My self-made debug class returns an empty string (as opposed to an error) when trying to print the www's text (in the webplayer). 4. I'm querying the same domain that the game is hosted on (www.myDomainName.com/myPhpScript.php, where the game is at www.myDomainName.com/myGame(.html & .unity3d)). 5. I suspect there's some server setting (mine's with dreamhost) or header... thing that I'm unaware of, but I'm not sure where to look to even find out what. At one point I threw in a header.Add("Access-Control-Allow-Credentials", "true"); header.Add("Access-Control-Allow-Headers", "Accept"); header.Add("Access-Control-Allow-Methods", "POST"); header.Add("Access-Control-Allow-Origin", "*"); for giggles, but no joy. If anyone's had this problem or knows where to start looking to solve it, I greatly appreciate the advice :) Thanks!

Viewing all articles
Browse latest Browse all 452

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>