magicblock-labs / magicblock-labs/Solana.Unity-SDK

[Bug] Assembly Definition should be targeting specific platform

Open
#223 0 comments 0 reactions 0 assignees View on GitHub
bug
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.