Player lifecycle

The player lifecycle feature module provides player creation functionality and simple player lifecycle management.

The module includes the following features:

  • Send player creation requests and handle responses.
  • Ability to provide arbitrary serialized data as part of the player creation loop.
  • Send and acknowledge player heartbeats.

You can find more information about the underlying APIs provided in our API reference docs.


1. Add the package

Add this feature module to your project via the Package Manager UI.

Or add it to your Packages/manifest.json:

  "dependencies": {
    "io.improbable.gdk.playerlifecycle": "0.4.0"

2. Reference the assemblies

The Player Lifecycle Feature Module contains a single assembly definition file which you must reference. This process differs depending on whether you have an assembly definition file in your own project or not.

I have an assembly definition file

Open your assembly definition file and add Improbable.Gdk.PlayerLifecycle to the reference list.

I don't have an assembly definition file

If you don't have an assembly definition file in your project, Unity will automatically reference the Improbable.Gdk.PlayerLifecycle assembly for you.

Updated about a year ago

Player lifecycle

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.