How to save script component variables at runtime from IOS device?

Heads up, I’m new to programming and Unity :stuck_out_tongue:

I’m making a car game and distributing it to several remote testers using TestFlight. I have an in-game gui so the testers can change the characteristics of the car. I would like for the testers to be able to tweak the car and then somehow send back to me a preset of the car settings they like. Then I can assess the presets and amend our cars based on what the testers liked.

I’ve been scouring the net for hours trying to figure out how best to do this. The best possible solution I can see that isn’t to involved is writing the settings to a string and emailing it to me using OpenURL. Then I can save it into a text file and use read it back into Unity using StreamReader or File.ReadAllText and Regex.Split.

Will this work? Can you think of a better solution?

Thanks :slight_smile:

Use WWWForm and post to your web server?

Write the data into a text/xml file in the app’s Documents folder and ask the beta testers to copy that from the device and send to you?

If you extrapolate your requirement, and want to know for example where on the tracks the players get to, or how and when they stop playing. Or how long they spend playing. Or where they are based. Rf how many cars they set up. And so on ad infinitum. Then you probably want an analytics solution. For $40 Prime31 can sell you such a thing. Other solutions are available.