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

Using a unity game as a server

Discussion in 'Multiplayer' started by vladblatpy, Jul 25, 2019.

  1. vladblatpy

    vladblatpy

    Joined:
    Jul 23, 2019
    Posts:
    4
    Hello
    I have to get screenshot images from custom unity project. Scene should generate dynamically by params sending through GET/POST request, then "server" should send response to client with screenshot or simply just save new images in some folder.
    Some help please: docs or some examples.
    TY
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I don't understand your question. If you're using GET/POST requests, you're talking about a web server. But you're talking about a Unity build as a server. Please describe the purpose of the web server and the Unity build acting as a server, and maybe someone can point you in the right direction.
     
  3. vladblatpy

    vladblatpy

    Joined:
    Jul 23, 2019
    Posts:
    4
    I use unity to create a synthetic data.
    I send a scene parameters through http methods -> game take a snapshot of scene -> i taking 2 responses: 1)shapshot
    2)some metadata
     
    Last edited: Jul 26, 2019
  4. MrsPiggy

    MrsPiggy

    Joined:
    Jun 13, 2018
    Posts:
    154
    Joe-Censored likes this.