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

New Features in Game Simulation

Discussion in 'Unity Game Simulation' started by ChristinaGuo, Aug 13, 2020.

  1. ChristinaGuo

    ChristinaGuo

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    48
    As a part of our latest update, we have released two new features:
    • REST APIs: You can now integrate your build pipelines, CI/CD pipelines, or any other custom integrations with these REST APIs. The API Docs can be found here.

    • Step series data: You can now track metrics throughout the game, not just when the game has finished running. The new package with step series data support can be found here.

    The REST APIs currently support the following functionalities:
    • Build uploading
    • Creating new simulations
    • Listing all simulations under your Unity Project
    • Viewing details about the running simulations
    • Canceling a simulation that is running
    • Downloading raw and aggregated data for a completed simulation
    • Downloading player logs for all simulations
    • Downloading step series data
    Before the release of step series data, Game Simulation only allowed counters at the end of a game session. Now, we provide the ability to snapshot all counters at a specific point in time or a specified interval. For example, in a racing game, say you want to know a player’s lap count and finishing time at the end of each race. You can call the SnapshotCounter method, which records all counters, including lap count and the finishing time's current value, with the label "session-1".

    void OnSessionOneFinish()
    {
    GameSimManager.Instance.SnapshotCounters("session-1");
    }


    As always, please reach out to gamesimulation@unity3d.com with any questions or feedback!
     
    Claytonious likes this.
  2. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    900
    This unlocked our core use case - thank you!
     
    yadanathiri and shuo_unity like this.
  3. ChristinaGuo

    ChristinaGuo

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    48
    Hi Claytonious, we're glad to hear! We'd love to learn more about your use case and hear any feedback. If you're available for a 30min call next week, please reach out to us at gamesimulation@unity3d.com!
     
  4. mianaaooo

    mianaaooo

    Joined:
    Mar 12, 2021
    Posts:
    1
    Can I apply these steps at my game apk.
     
  5. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446