Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Steam SDK works in Unity Editor but not when I take the build and add it to steam.

Discussion in 'Multiplayer' started by OzgurOzdemir24, Oct 5, 2023.

  1. OzgurOzdemir24


    May 1, 2018
    Hello, as the title says, the SteamWorkshop package works in the Unity Editor and connects to my steam account, but it does not work when I take the build and add Steam.
    Code (CSharp):
    1. if (!SteamAPI.Init())
    2.         {
    3.             Debug.LogError("Steamworks is not initialized.");
    4.             return;
    5.         }
    Can't get below here.

    And in addition to this question, I would like to ask you this question.
    When I develop a game with Steam, it connects to one of my accounts. How can I connect to my 2 accounts from a single computer and test the game? I am waiting for your answers on this subject.

    Thanks in advance