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

TaskScheduler' exists in both 'Unity.Tasks #21

Closed combatsheep closed 3 years ago

combatsheep commented 3 years ago

Hello. When I imported App Tracking Transparency for Unity into my project, I got the following error and couldn't proceed. Is there a way to solve it? Thank you.

Assets/Balaso Software/Runtime/AppTrackingTransparency.cs(75,24): 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'

manelizzard commented 3 years ago

Hello @combatsheep. Do you have Scripting Runtime Version to .NET 4.x Equivalent in Unity?

net4

Have you tried any of the solutions shared here: https://forum.unity.com/threads/type-task-exists-in-both-unity-tasks-and-mscorelib.855385/?

combatsheep commented 3 years ago

Hello, @manelizzard.

Do you have Scripting Runtime Version to .NET 4.x Equivalent in Unity? No, it's .NET 4.x.

I'm sorry I forgot to fill in the environment. Unity 2019.4.18f1

Is there any other place to check the settings? Thank you.

Scene_Game_-_PlayClock_Unity_-_iOS_-_Unity_2019_4_18f1_Personal__PREVIEW_PACKAGES_IN_USE___Personal___Metal_

manelizzard commented 3 years ago

Hello @combatsheep, that looks fine.

What about the solutions shared in the link I pasted above?

combatsheep commented 3 years ago

Hello, @manelizzard.

Thank you! !! In the forum you taught me, It was written "go to: youProjectFolder \ Assets \ Parse \ Plugins" remove all files outside of the dotNet45 Folder ", so I tried it and it was solved! It was helpful!

manelizzard commented 3 years ago

Glad to hear that @combatsheep 💪