Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 /
avatar image
0
Question by achillesdotexe · Aug 06, 2015 at 04:54 PM · il2cpp

Google play services not working with IL2CPP build

Hi, when we build xcode project with il2cpp from unity, google play games doesn't work. We were using unity 4.6.2f1, everything was working fine. But we had to change this "mono" to "IL2CPP" for making 64 bit ios build, then google play games stopped working. As unity guy mentioned in this thread,

http://forum.unity3d.com/threads/il2cpp-exe-error.311499/

We have updated unity to 4.6.3p3. Still google play services not working and when we checked the debug messages, it was throwing "Exception Google Login: Object contains non-primitive or non-blittable data".

If any one has fixed this issue or know any work around, please share.

Thanks in advance.

Comment
Add comment · Show 4
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 JoshPeterson · Aug 10, 2015 at 11:33 AM 0
Share

If possible, please try the latest version of Unity and the latest version of Google Play Games. We corrected a similar issue in the Google Play Games code in $$anonymous$$arch. You can see the pull request for that fix here:

https://github.com/playgameservices/play-games-plugin-for-unity/pull/420

avatar image achillesdotexe · Aug 12, 2015 at 06:58 AM 0
Share

We have updated [to unity 5.1.2f1 and google play game services 0.9.21] as you have suggested. Now its throwing an google login exception says that "Exception Google Login: Couldn't locate the OAuth Client Id, provide this by navigating to Google Play Games->iOS Setup".

But we are pretty sure, we already have done the iOS setup, its kind of weird, Don't know, why its still throwing this error. We have cleanedu

Also, we were getting errors related to facebook sdk, when we complied in xcode.

We are really kind of stuck now, we are not sure, going for unity 5 is the right choice or not. Because, even if we make google play works fine, we doubt about other plugins[such as unity ads, admob, game house promotion network] we are using will work fine or not. :(

One more question apart from these, can we still manually add frameworks in xcode ins$$anonymous$$d using cocoapods? or we have to add them into pod file?

avatar image JoshPeterson · Aug 12, 2015 at 12:33 PM 0
Share

It is probably safest to stick with the latest 4.6 version of Unity (sorry, I should have been more clear). You can find the 4.6.7p3 release here:

http://unity3d.com/unity/qa/patch-releases

Hopefully that will avoid any problems with an upgrade to Unity 5. Note though that I think this error was caused by a problem in Google Play Games, so you may be able to stick with Unity 4.6.3p3 and use the latest Google Play Games code.

can we still manually add frameworks in xcode ins$$anonymous$$d using cocoapods?

Yes, nothing in Unity 5 should prevent this.

avatar image achillesdotexe · Aug 18, 2015 at 06:58 AM 0
Share

Hi Josh, Sorry for the late reply. We have already update the unity to 4.6.7 and gpgs to 0.9.21 in the mean time. Everything is working fine now. Thanks for helping around.

And we were facing few compile time errors in xcode project regarding unity ads framework. So we have removed it from frameworks list, which was automatically added. Then we have added unity ads and gpgs frameworks manually then it started working fine.

0 Replies

· Add your reply
  • Sort: 

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

iOS 64 bit support problem 1 Answer

Out of memory errors on iOS with 64-bit build 1 Answer

Type.GetConstructor stopped working after building with IL2CPP 0 Answers

UNET & IL2CPP memory allocation? 1 Answer

Exception: Il2cp did not run properly. 2 Answers


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