Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How do I connect a WebGL Unity game to a database?

Discussion in 'Web' started by DBraunstein, Mar 9, 2018.

  1. DBraunstein

    DBraunstein

    Joined:
    Mar 9, 2018
    Posts:
    1
    How can I make a my unity game (a simple connect 4 remake) playable on my own website and have my site keep track of the wins and losses from the game. In other words, how do I send data between a unity game ported to webGL and the server (or from the game to the db)?

    If anyone knows details for MEAN, Ruby-on-Rails, or Python/Django stacks specifically, I'd greatly appreciate it. I'm still a bit new to full-stack coding so go easy on me, still not even sure where to start looking.
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
  3. bererton

    bererton

    Joined:
    Jun 20, 2014
    Posts:
    34
    Have you considered using a backend as a service like Gamesparks or Playfab?