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
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.
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 ...