Skip to content

Conversation

@TheCrossBoy
Copy link

Right now, the STEAMWORKS_NET define is always added to the scripting defines.

If steamworks is disabled with DISABLESTEAMWORKS or because it isn't compatible with the platform, it should not be added.

Guards the file in constant bounds to check for the define.

Fixes #656

@TheCrossBoy
Copy link
Author

Additionally, I think it's relevant to mention that the current release (2024.8.0) does not use the version of RedistInstall.cs that it should have been at the time:

https://github.com/rlabrecque/Steamworks.NET/blob/2024.8.0/com.rlabrecque.steamworks.net/Editor/RedistInstall.cs

It's using a much older version of the file, which has an additional bug in more recent versions.

Copy link

@JulesALLEMAND3B JulesALLEMAND3B left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this really

@sandolkakos
Copy link
Contributor

sandolkakos commented Jun 6, 2025

I've created this other PR with a setting to avoid it from adding the defines at all: #712

@rlabrecque
Copy link
Owner

With #712 merged in, let me know if we're still missing any piece of this

@rlabrecque rlabrecque closed this Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

STEAMWORKS_NET compiler symbol added for Android target

4 participants