Skip to main content

Play Mode

You can simply test Asylum SDK plugin in Unity Play Mode without making a build.

  1. After you have loaded the Asylum Unity SDK Example or added the Asylum Unity SDK Plugin to an existing project, create a GameObject with component AsylumDigitalObjectsController. Make sure you enter the user's passphrase (seed phrase mnemonic) in the AsylumDigitalObjectsController component field.


    If you followed Quick Install, you already have scene created, just open Scenes/SimpleScene and make sure that AsylumDigitalObjectsController component has seed phrase filled.

  2. Follow the steps of Docker setup and run the following command in terminal:

    docker-compose up

    Since you are not using WebGL it's not necessary to run Creator Studio. You can just run IPFS and Asylum Node.


    To see the proper result you should have items minted on your chain. To do this you can:

  3. And now you can start Unity Play Mode.

  4. The final result should be this. In the console you should get the Public Key that was generated from the secret phrase. And you should also see a message about the correct connection to the blockchain.