Quantcast
Channel: Questions in topic: "web player"
Viewing all articles
Browse latest Browse all 531

I am having trouble getting a web build to save out an .upp file from my code

$
0
0
This is my code, which saves the array value as an integer in a custom character creation tool for my game: function PPSaveChar(){ PlayerPrefs.SetString("name",charName); print (charName); PlayerPrefs.SetInt("gender", objselect[0]); PlayerPrefs.SetInt("head", objselect[1]); PlayerPrefs.SetInt("feet", objselect[2]); PlayerPrefs.SetInt("hat", objselect[3]); PlayerPrefs.SetInt("hair", objselect[4]); } but there is no file created when I build it, upload it to my server, and play it! In fact when I try to run this function the player crashes.

Viewing all articles
Browse latest Browse all 531

Trending Articles



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