Nintendo Switch

We have made authenticating with Nintendo Switch as simple as possible with this integration.

Register a Session

This requires that you have set up the Unity SDK in your game.
Ensure that you have the following conditions met:
  • You are registered with Nintendo as a developer (otherwise you will not have access to their developer tools)
  • Install the Nintendo Dev Interface (obtained from and set up an environment that matches your Unity version
  • Install the NintendoSDK from the environment, as well as all dependencies
  • You have enabled the Nintendo Switch platform in your games settings in LootLocker, and the Nintendo Application ID matches in Unity and the LootLocker console (You can use the Nintendo default one during initial development)
We'll start by creating a new empty Game Object in your scene and calling it GameManager. Feel free to skip this if you already have a GameManager or similar in your game.
Then in this new GameObject you can add a new script called GameManager
Open up your new script in your editor of choice and add the following code.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LootLocker.Requests;
public class GameManager : MonoBehaviour
void Start()
string NSAIDToken = getNSAIDToken();
LootLockerSDKManager.StartNintendoSwitchSession(NSAIDToken, (response) =>
if (!response.success)
Debug.Log("error starting LootLocker session");
Debug.Log("successfully started LootLocker session");
Note that we can not guide you on how to obtain the NSAIDToken for the above snippet due to legal reasons. The NintendoSDK does have great examples on how to obtain this yourself though.
To confirm that everything is running without errors, you can start your game and check the console for the correct Debug.Log message.
Congratulations - you have now started using LootLocker in your game with Nintendo Switch! Next up we suggest you look at our feature set, and decide which ones you want to use in your game.
If you want to store your player’s inventory with LootLocker (this allows use of a lot more features, such as granting assets to players on level up, when completing a mission, etc) a great next step is to read up on the Asset Manager.
Nintendo Switch have not yet been implemented in our Unreal SDK, but can be used by using our API directly.
If you need this feature, please let us know on our Discord server.