Open WildRikku opened 2 days ago
hey @WildRikku, today I got the same problem and decided to create a Pull Request (#660) with my solution.
While it is not merged into master
branch, you can use my commit on your Packages/manifest.json
:
"com.rlabrecque.steamworks.net": "https://github.com/sandolkakos/Steamworks.NET.git?path=/com.rlabrecque.steamworks.net#ef0b146ce50b353c60ffcde17175bcecb09c2391",
After setting it, you have to restart Unity (do not select Safe Mode when it is opening), and the STEAMWORKS_NET will automatically be removed. Or just remove it manually.
As some others, I also had some issues building a project for Android. I added DISABLESTEAMWORKS to the player's compiler symbols for the Android target and used that to exclude all Steamworks code and it worked. However, I noticed the STEAMWORKS_NET compiler symbol was automatically added to the player for the Android target, which I guess is wrong, because the framework does not support Android (as can be seen in the example SteamManager).