error CS0103: The name 'IAPWrapper' does not exist in the current context
Checklist
- [x] I've updated to the latest released version of the SDK
- [x] I've searched for existing GitHub issues
- [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [x] I've read the Code of Conduct
- [x] This issue is not security related and can safely be disclosed publicly on GitHub
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
- Unity Editor Version:
2022.3.12f - Unity SDK Version:
18.0.0 - Installation Platform & Verison:
AndroidversionX.X.X
Goals
Import FBSDK 18.0
Expected Results
No Error
Actual Results
Assets\FacebookSDK\Examples\Mobile\Scripts\SubMenus\IAP.cs(72,17): error CS0103: The name 'IAPWrapper' does not exist in the current context
Steps to Reproduce
Just import FBSDK into unity 2022.3.12f
Code Samples & Details
Just import FBSDK into unity 2022.3.12f
Exact same problem, exact same results
Facebook unity SDK 18.0.0 Unity version 2022.3.25f1 Android platform
The script is in the folder "Examples", so I think we can just remove the folder if not necessary.
@NguyenManhLinh2799 We can, but it still a problem that IAPWrapper exist but we can't access it
this happens to me as well. it feels like this version of sdk isnt compatible with unity 6 or the latest changes in android api 36. i strongly advice against using this version
this happens to me as well. it feels like this version of sdk isnt compatible with unity 6 or the latest changes in android api 36. i strongly advice against using this version
I totally agree. I use 17.0.2 version. It works fine for now.
Unity Version: 2022.3.53f1 LTS
is some one from Meta looking into it?
Same problem here.
FB unity SDK 18.0.0 Unity version 6000.0.47f1 iOS
edit : for someone who using Unity 6 -> It works with 17.0.1 version.
- iOS build should have to setup some postprocess script
same problem here. unity 6000.0.58f2, sdk 18.0.0, platform android. I decided just delete the whole Example folder.
It still persists in:
FB unity SDK 18.0.0 Unity version 6000.0.62f1 iOS