question

duartedd avatar image
duartedd asked

Version.PartyNativeVersion

payload["PartyVersion"] = Version.PartyNativeVersion; payload["PartyUnityVersion"] = Version.PartyUnityVersion;

WebGL throws this error

#if UNITY_STANDALONE || UNITY_IOS || UNITY_ANDROID || UNITY_GAMECORE || MICROSOFT_GAME_CORE || namespace PlayFab.Party { internal static class Version { public static readonly string PartyNativeVersion = "{1.5.0}27662"; public static readonly string PartyUnityVersion = "{1.5.0.3-main.0}27662"; } }

I added UNITY_WEBGL to the end to bypass it - figured i would let you know and if i should be aware of anything besides if you guys update the SDK itll break again if i update my side.

thanks!

Assets\PlayFabPartySDK\Source\Scripts\PartyUnitySDK\PlayFabEventTracer.cs(97,47): error CS0117: 'Version' does not contain a definition for 'PartyNativeVersion'

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

From I can see in the Party Unity SDK repository and document on PlayFab, I don't think Party supports WebGL as target build.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.