Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
4
Question by ink13 · Dec 15, 2016 at 05:02 AM · buildpluginiapcloud

IAP and Unity Cloud Build

Hi, I'm having problems getting Unity Cloud build to work after adding in the Unity IAP plugin. I'm using unity 5.5.0f3

I'm getting

 1962: [Unity] Assets/Plugins/UnityPurchasing/script/IAPButton.cs(114,12): error CS0246: The type or namespace name `ProductCatalog' could not be found. Are you missing an assembly reference?
 1963: [Unity] Assets/Plugins/UnityPurchasing/script/IAPDemo.cs(28,10): error CS0246: The type or namespace name `IAppleExtensions' could not be found. Are you missing an assembly reference?
 1964: [Unity] Assets/Plugins/UnityPurchasing/script/IAPDemo.cs(29,10): error CS0246: The type or namespace name `IMoolahExtension' could not be found. Are you missing an assembly reference?
 1965: [Unity] Assets/Plugins/UnityPurchasing/script/IAPDemo.cs(30,10): error CS0246: The type or namespace name `ISamsungAppsExtensions' could not be found. Are you missing an assembly reference?
 1966: [Unity] Assets/Plugins/UnityPurchasing/script/IAPDemo.cs(462,27): error CS0246: The type or namespace name `LoginResultState' could not be found. Are you missing an assembly reference?
 1967: [Unity] Assets/Plugins/UnityPurchasing/script/IAPDemo.cs(481,30): error CS0246: The type or namespace name `FastRegisterError' could not be found. Are you missing an assembly reference?

Which is stopping the build from taking place. My initial idea to fix this was to remove these scripts entirely. IAPDemo i guessed was a helper script to showcase how IAP works?

I'm curious if theres something that i need to add or change in the settings of the cloud build to get these guys to play nice..?

Many thankyou's. Ben

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
4

Answer by kunst-stoff · Mar 02, 2017 at 01:32 PM

I got the same error.

First, go to Window->Services->In-App Purchasing and reimport the latest version. My last import was somehow incomplete.

Secondly, it turned out the line #**/*[Bb]in/ in the file .gitignore caused that the content of the folder /Assets/Plugin was not committed to the git repository.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JustCarty · Aug 08, 2017 at 12:57 PM 0
Share

This worked for me. Although note that I had to turn IAP off and then re-enable IAP. Simply "Reimporting" didn't work for me.

avatar image rszalski · Mar 07, 2018 at 10:20 AM 0
Share

Thanks! This also helped me and saved me many hours of investigation. Wonder why the [Bb]in/ rule is so prevalent in .gitignores...

avatar image ProbePLayer · Apr 20, 2021 at 03:14 PM 0
Share

Reimporting or reenabling the In App Purchasing didnt work for me. In my case the person who initially enabled the service added the Bin/Assets/Plugin directory to their git and pushed it and I pulled it.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

90 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity Web Player Not Working and Solutions Not Working Either! 1 Answer

unity3d cloud build not working. 0 Answers

Why does the unity cloud build not work but local build does? 0 Answers

Info.plist must contain an NSPhotoLibraryUsageDescription key 1 Answer

Cloud Build - Why my ios build size is 156mb and android size 28? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges