Balaso-Software / app-tracking-transparency-for-unity

Later this year Apple will require your apps/games to request user's authorization in order to obtain the Identifier for Advertising (IDFA), used to optimize and maximize your Ads revenue
16 stars 1 forks source link

The type 'TaskScheduler' exists in both 'Unity.Tasks... #25

Closed Vasheer26 closed 3 years ago

Vasheer26 commented 3 years ago

Hi I just imported the plugin into my project and got this error. Assets/Balaso Software/Runtime/AppTrackingTransparency.cs(73,47): error CS0433: The type 'TaskScheduler' exists in both 'Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

I am using Unity 2019.4.18f.

The code it is referring to this: private static System.Threading.Tasks.TaskScheduler currentSynchronizationContext;

Any suggestions?

Thanks.

manelizzard commented 3 years ago

Hello @Vasheer26.

Please refer to https://github.com/Balaso-Software/app-tracking-transparency-for-unity/issues/21 to find the solution.

Thanks!