Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Resolved Game Override not giving new players Inventory Items.

Discussion in 'Economy' started by Voltonik_, May 1, 2024.

  1. Voltonik_


    Jan 21, 2018
    I configured some startup items and currencies for new players and made an override for that, but only the currencies are actually given to the players.

    I also noticed that if I don't use
    await EconomyService.Instance.PlayerBalances.GetBalancesAsync();
    anywhere in my code, then the currencies stop working as well, with that knowledge, I am calling
    await EconomyService.Instance.PlayerInventory.GetInventoryAsync();
    but it still doesn't work.
    Also it makes no sense that the client has to get the currencies for them to actually get added to their accounts, no idea why inventory items don't work though.

    EDIT: Overrides service does not give items to players, it only modifies existing ones. I used cloud code and a trigger to achieve this.
    Last edited: May 10, 2024