Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 ktan · Jul 19, 2013 at 07:44 AM · androidiosiphoneplatform

Mobile game has different behaviors on android and ios

I made a mobile game on unity, initially targeting the ios platform. The game works fine on ios devices. I then switched platform to android. Now I find that a lot of logic of the game is not working as expected. For example in the game, when an enemy attacks my character, my life is not reduced or the enemy do not follow me or behaved erratically.

Did I miss something in switching platform or is it a problem with unity?

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 SolidSnake · Jul 19, 2013 at 08:14 AM 0
Share

Do you get any warnings on the console? do you use JavaScript? I did multiple projects working across android/ios without having many issues apart from the obvious ones such as catering for different screens, texture compression etc. but the logic normally is the same

avatar image SolidSnake · Jul 19, 2013 at 08:20 AM 0
Share

also make sure that all the references to scripts in gameobjects are still in place

avatar image ktan · Jul 19, 2013 at 09:37 AM 0
Share

The warnings I get are Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers. UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

I use a mixture of javascript and C# scripts.

avatar image SolidSnake · Jul 19, 2013 at 09:45 AM 0
Share

I see... this shouldn't be the problem from what you described it seems more like missing behaviours.. i.e. some of your scripts are not attached to game objects... is that the case?

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

16 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

Related Questions

How can I make a thumbstick with this code? HELP 1 Answer

Can I use unity as a portable editor by copying it from my windows computer to use it on a Mac thats in my college? 1 Answer

How to have my mobile device screen lighting on all the time 2 Answers

Testing android apk on IPhone? 1 Answer

Develop for two platforms simultaneously? (or at least reducing the conversion time) 0 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