• 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 filler03 · Apr 15, 2015 at 02:00 AM · androidcrashpluginpush notification

Game Thrive (One Signal) causes game to crash when calling init method.

I have just implemended the Game Thrive plugin, and am testing it on android. When the game calls GameThrive.Init(), it crashes. I know this is the reason because I have tried building the game with this line commented out and had no issues. Even when I ran the example scene provided by them the same problem occurred. Has anyone else run into this problem?

Help here will be greatly appreciated!

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
1
Best Answer

Answer by JKasten · Apr 16, 2015 at 09:36 PM

Hello,

This is Josh from OneSignal. We have re-branded to OneSignal and we recommend switching to our new SDK and OneSignal class when you can.

To debug the crash your seeing can you get a full LogCat for the app crashing on your Android device? To get it you can run ddms or adb logcat from a terminal. You can send it as well as your APK to support@onesignal.com and we can take a look.

Thanks.

Comment
Add comment · Show 4 · 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 filler03 · Apr 17, 2015 at 01:55 AM 0
Share

Should i just get the OneSignal unity package ins$$anonymous$$d of the GameThrive one? Or do I need the ecoipse SD$$anonymous$$ in addition?

avatar image JKasten · Apr 17, 2015 at 02:00 AM 1
Share

You can remove the current GameThrive plugin by deleting the GameThrive folder and the GameThriveSD$$anonymous$$.jar in the Android folder. Then import the new OneSignal package and follow the instructions located here: http://documentation.onesignal.com/v2.0/docs/installing-the-onesignal-sdk

Also remove the GameThrive references in your Android$$anonymous$$anifest.xml

avatar image filler03 · Apr 17, 2015 at 03:35 PM 0
Share

Ok I have done this and the game no longer crashes! I can see on the users section of One Signal that a user has been registered for my device. The only thing is now when I try to send a push notification to myself it tells me something went wrong and I need to check the logs. I assume this could be debugged using logcat?

avatar image filler03 · Apr 17, 2015 at 11:23 PM 0
Share

never$$anonymous$$d that last comment it is working now. $$anonymous$$aybe it just takes some time after a user has been registered.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

19 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

Related Questions

Application crashes when notification received:android 0 Answers

android plugin app crashing 0 Answers

Using Ad plugins on Android leads to extra crashes 0 Answers

Unity3D Android plugins and SIGSEGV 0 Answers

Creating Unity Plugin 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