question

peter@pixeleap.com avatar image
peter@pixeleap.com asked

Unitypackage generates red error on import

When I imported the Unity package I got this error:
Assets/PlayFabSDK/Internal/json/Shims/EnumMemberAttribute.cs(34,29): error CS0101: The namespace System.Runtime.Serialization' already contains a definition forEnumMemberAttribute'

Any idea on how to resolve this?

10 |1200

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

brendan avatar image
brendan answered

Thanks for calling that out. We'll do a review of our SDKs to ensure proper namespace usage. In the meantime, there shouldn't be any issues with removing the conflict, as you describe.

10 |1200

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

peter@pixeleap.com avatar image
peter@pixeleap.com answered

Resolved: Turns out that it conflicts with the JSON dot net plugin we also use, decided to delete the conflicting file from Playfab and it now seems to work

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.