Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by daniel-6 · Feb 11 at 01:24 AM ·

Playfab and unity integration

Hi,

I'm getting a bunch of warnings in Unity with PlayFab asset on the same style as this (350 + warnings):


Assets\PlayFabSDK\Shared\Ionic.Zlib\Inflate.cs(120,32): warning CS0436: The type 'ZlibCodec' in 'E:\Portal\Unity\ARpresenter\Assets\PlayFabSDK\Shared\Ionic.Zlib\ZlibCodec.cs' conflicts with the imported type 'ZlibCodec' in 'Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c'. Using the type defined in 'E:\Portal\Unity\ARpresenter\Assets\PlayFabSDK\Shared\Ionic.Zlib\ZlibCodec.cs'.

They all seem to be related to that folder:

How can I get rid of those warnings?

Thank you

nrouq.png (141.1 kB)
Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Sarah Zhang · Feb 11 at 08:00 AM

We can’t reproduce this behavior in the empty testing project, PlayFab SDK should work fine. It seems a common question of Unity, you can refer to the similar threads in the Unity forum for troubleshooting, or contact the Unity supports for help.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by daniel-6 · yesterday

Have you looked at the selected answer on the link you shared? This is an issue with the way PlayFab is handling its assemblies... I can't do anything with that...

I followed the instructions here to install the SDK and I get all the warning every time I import the SDK package my unity project : https://github.com/PlayFab/UnitySDK

I'm using unity 2020.2.3f1.

The way I installed it is by importing the file : UnitySDK.unitypackage and then the file PlayFabEditorExtensions.unitypackage from the link I shared with you and I get all the warnings popping up when installing the UnitySDK.unitypackage ...


Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    1 Person is following this question.

    avatar image

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges