#Steamworks Foundation appears to be installed and must be removed before continuing [Unity]

1 messages Β· Page 1 of 1 (latest)

quaint sail
#

So I tried updating Steamworks foundation yesterday, simply pressing the "Update" button.
When I did, this message popped up.

Steamworks Foundation appears to be installed and must be removed before continuing. Should we uninstall Steamworks Foundation now?
I can press "Uninstall" which uninstalls the package again, or "No" which doesn't.
If I press "No" I can keep the package right up until I start the game, then it pops up again.

I have tried reinstalling it, and Steamworks.Net, but that doesn't help.

pearl olive
#

Just did an update to FOundation that introduced that bug I will get it sorted shortly

#

That should be reverted now

#

sorry about that

Foundation is a sub set of the main asset so we update it by copying over the main assets files but that test of course is only used in the main asset to make sure you remove Foundaiton first πŸ™‚

#

so ... copy paste error from brining in updates from main asset

quaint sail
#

@pearl olive Thank you so much - I was soooo frustrated last night, thought I had fucked something up bad πŸ˜›

Now I have another problem tho;
Whenever I launch the game, I have a SteamworksController with the "Steamworks Behaviour" script. The events aren't called. Neither success nor failed.
I have checked that the script is active and the steamworks settings are correct

pearl olive
#
API.App.evtSteamInitializationError.AddListener(HandleInitializationError);
API.App.evtSteamInitialized.AddListener(evtSteamInitialized.Invoke);
#

or well it should the one for SteamInitalized was missing for some reason πŸ™‚

#

so I will get that fixed in just a min

quaint sail
#

Damn I've never felt so lucky πŸ˜„ Haha thanks fo the quick support πŸ™‚

pearl olive
#

that should be sorted now

#

just press update on UPM and it should update

pearl olive
#

its a manual process usually would be done slower once every year or os

#

but this one was done in a bit of a hurry to solve an issue they had

quaint sail
#

I was having troubles yesterday as well, which is why I updated late last night when it broke πŸ˜›

I just tried pressing "update" and got this:

pearl olive
#

A lot of Unity devs have moved away from using the behaviour did you know you can do it with API directly

#

that is not from our asset

#

that looks like com.unity.terrain

quaint sail
#

Hmm.. It didn't do anything πŸ€”

pearl olive
#

Let me check over that fine a bit more looking at the history and it shouldn't have had a missing event handler

#

so somthing funky is going on in Git

quaint sail
#

I removed and installed it again and now it works

pearl olive
#

ya still something odd with git going on so I am going to rebase

quaint sail
#

But back to old problam I was having yesterday:

#

Steam is connecting in Bootstrap, but when I try to get like the Avatar image on the next scene, I get that error, and I don't appear as playing a game in steam.
I have had it working before

pearl olive
#

That is saying Steam is not initalized

#

so when we initalize

#

we print some messages to the log

#

can you show me those

#

they will list of the App ID and similar

#

1 sec I can get you an example

quaint sail
pearl olive
#

Let me bring up the foundaiton project so I am not showing what the full package does

#

Thats a server

#

servers cant use client API

#

change your build target to client build

quaint sail
#

Ohhhh I see!

#

Yea it works now πŸ™‚

pearl olive
#

SO in steam there are 2 "end points"

#

Client and Server

quaint sail
#

Thought it only triggered server if told to or something πŸ˜› But it makes sense πŸ™‚

pearl olive
#

Client has a logged in user so it can do all the things

#

Server is anon so it can do many things but not anything with Steam Friends

#

we init server when its a server build and init client when its not

#

youc an use the API directly if you want to manually control that

#

but by defualt we do it for you based on build target

#

you can wrap your own code in

#if UNITY_SERVER
// server
#else
// client
#endif
#

if I remimber C# right πŸ™‚

I work in a lot of langauges so consider that pseduo code

#

IO get syntax mixed up some times πŸ˜„

quaint sail
#

Yea I get the point πŸ˜›
But I haven't worked with the API before, would that take a lot of effort? πŸ™‚ (And would it be worth it)

pearl olive
#

SO as you can see supper complicated πŸ™‚

#

for server it would be

App.Server.Initialize(appId, config);
#

That forgoes using SteamSettings entierly and does it pure code

#

You can keep using SteamSettings if you want in code

yourSettings.Initialize();

But it will try to guess what you want based on build target

quaint sail
#

Okay thank you πŸ™‚

pearl olive