Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Server side backend application

Discussion in 'General Discussion' started by pKallv, May 26, 2020.

  1. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    822
    What would be the best way of developing a backend service with a webpage and communication with the Unity based app/game?

    What I am looking for is how to kick this off including what tools to use etc?

    The idea is to have a webpage with info like:

    - Unique login
    - Stats per user
    - Download items
    - IAP
    - Upload items
    - ...
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    8,543
    "Best way" questions are hard to answer, because what is best for your use case can easily not be best for someone else's even with somewhat similar requirements. But a simple to implement solution which limits 3rd party dependencies is just the typical PHP/MySQL approach. Webpage using PHP talks to MySQL database. Unity game talks to another PHP script on the same webserver via UnityWebRequest which talks to the same MySQL database.
     
    DebugLogError and pKallv like this.
  3. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    822
    tx
     
  4. AndyLL

    AndyLL

    Joined:
    Aug 25, 2013
    Posts:
    75
    While I agree with Joe in general....

    After struggling with some old Web Services for days I had a asp.net core Web API to save/load games working in hours. Many of the newer technologies make restful APIs pretty easy.

    But it is still a different animal with a million different options to develop a web backend compared to an Unity game.
     
    Joe-Censored and pKallv like this.
unityunity