facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
485 stars 256 forks source link

Facebook Audience Network Version 6.2.1 Android/IOS Build Failed #512

Open osamaraza24 opened 3 years ago

osamaraza24 commented 3 years ago

**** Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

Goals

To Enable Data Processing Options Feature For CCPA Compliance ,Ironsource Suggest to use FAN Unity SDK

Expected Results

Android and IOS Build Successfully Produce

Actual Results

Getting this Error on Building The type or namespace name 'AudienceNetwork' could not be found (are you missing a using directive or an assembly reference?)

Steps to Reproduce

Integrate FAN Unity SDK

Code Samples & Details

I added screenshot of dependencies Screenshots.zip

dmitrykurteanu commented 3 years ago

I'm having the same issue. Are you using Unity Cloud Build?

osamaraza24 commented 3 years ago

Yes you should check your .gitignore file it contains [Ll]ibrary,actually FAN has folder named Library and it added in .gitignore file so it would not upload on git .you should change [Ll]ibrary to /Library/ then add file and commit push then make build.

On Tue, Feb 23, 2021 at 10:02 PM dmitrykurteanu notifications@github.com wrote:

I'm having the same issue. Are you using Unity Cloud Build?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/facebook/facebook-sdk-for-unity/issues/512#issuecomment-784352066, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIUKXFIMC5IN5QPOW4737L3TAPNQTANCNFSM4W5MDWUA .

-- Game Developer Big Wolf Company

dmitrykurteanu commented 3 years ago

Oh wow! Thank you so very much for such a quick reply! You saved me hours of trying to debug this! Thank you!

NudeNULL commented 3 years ago

Please rename the folder to something else, Library is ignored and we shouldn't change the .gitignore file everytime