magicblock-labs / magicblock-labs/Solana.Unity-SDK
[Bug] Assembly Definition should be targeting specific platform
- Dominant language
- C#
- Stars
- 199
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to compile my cross platform game on a Playstation 5 and i'm currently getting errors from this plugin even though I already used compiler flags to exclude all solana code when targeting the PS5.
My guess is that the Assembly Definition file (https://github.com/magicblock-labs/Solana.Unity-SDK/blob/main/Runtime/com.solana.unity_sdk.asmdef ) is set to target `Any Platform` instead of the ones it's working for.
Can you please target the correct ones? (i'm thinking Android, Editor, iOS, macOS, WebGL, Windows 32-bit, Windows 64-bit)
Or at the very least, exclude the Console targets?
THank you
Contributor guide
Research direction
Start with Runtime/com.solana.unity_sdk.asmdef and inspect its current platform targeting settings. Verify the intended Android, Editor, iOS, macOS, WebGL, and Windows targets, then confirm that a PlayStation 5 build no longer compiles the excluded Solana code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- build-system, game-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100