I am getting an error with my Steam Logins that I wasnt getting before (pretty sure I wasnt).
Failed: /Client/LoginWithSteam: Steam WebAPI error: 102 (Ticket for other app)
I have looked over every single post about this error and nothing has worked for me.
In the Addons page, my app id is set to the same number it shows up with on the Home Page of Steamworks in the unreleased apps: Game Name (gameID)
The Steam Web API I got by going to
Users & Permissions -> Manage Groups -> Everyone (WebAPI) -> Generate API
I cant remember but im pretty sure that Everyone group was there when I started.
Brendan, if your the one who sees this, I saw your answers on the other questions, and I have added you as a User to my Steamworks stuff.
My game is here is CFC5
Here is the code im using, its mostly copy/paste from the examples.
using System; using System.Text; using PlayFab; using PlayFab.ClientModels; using Steamworks; using UnityEngine; public class SteamAPI_GS : MonoBehaviour { //This method returns public string GetSteamAuthTicket() { byte[] ticketBlob = new byte[1024]; uint ticketSize; // Retrieve ticket; hTicket should be a field in the class so you can use it to cancel the ticket later // When you pass an object, the object can be modified by the callee. This function modifies the byte array you've passed to it. HAuthTicket hTicket = SteamUser.GetAuthSessionTicket(ticketBlob, ticketBlob.Length, out ticketSize); // Resize the buffer to actual length Array.Resize(ref ticketBlob, (int)ticketSize); // Convert bytes to string StringBuilder sb = new StringBuilder(); foreach (byte b in ticketBlob) { sb.AppendFormat("{0:x2}", b); } Debug.Log(sb.ToString()); return sb.ToString(); } public void OnGUI() { if (GUILayout.Button("Log In")) { if (SteamManager.Initialized) { // Execute PlayFab API call to log in with steam ticket PlayFabClientAPI.LoginWithSteam(new LoginWithSteamRequest { CreateAccount = true, SteamTicket = GetSteamAuthTicket() }, OnComplete, OnFailed); } } } // Utility callbacks to log the result private void OnComplete(LoginResult obj) { Debug.Log("Success!"); } private void OnFailed(PlayFabError error) { Debug.Log("Failed: " + error.GenerateErrorReport()); } public void PurchaseTest() { } }