Unity Install
Last updated
Last updated
No matter where you licensed and installed the package from installing the samples is the same.
Open the Unity Package Manager
Click the "In Project" tab
Find the "Packages - Heathen Group" grouping
Select "Toolkit for Steamworks SDK"
Select the "Samples" tab
DO NOT install Steamworks.NET from the Releases folder in its repo
DO NOT copy Steamworks.NET into your Assets folder ... that is not installing
DO Clone the Steamworks.NET repository to your local disk and the Package Manager - Add from Disk method.
or
Allow the Toolkit for Steamworks SDK to install it for you
This or similar exceptions referring to SteamInternal_SteamAPI_Init assembly or similar references to Steam's assemblies.
You have a copy of Steam's assemblies in your Asset folder, or you did and haven't restarted since. This means that Unity is using the wrong assembly. You should NEVER have Steamworks.NET or any of its assemblies in your Asset folder.
Remove the offending assemblies usually found in the Plugins folder or similar. You may need to reinstall Steamworks.NET to repair any bad merges that resulted from the duplicate assembly.
So you installed, and now XXXX is not found in the X namespace.
Something is messing with your assembly references. The usual culprits: You had Toolkit for Steamworks Foundation installed, then installed the full version on top of that. This will have caused Unity to merge the assembly defines breaking references.
Make sure you remove Foundation first, once its gone, you need to repair your current install. If you used the Add from Disk option to install the package from GitHub, open up GitHub Desktop and revert the changes, you should find that 1 or more assembly defs or rather their meta files, had changes. If you installed from Unity Asset Store, try simply reimporting