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 /
avatar image
0
Question by TheSaviour · May 26, 2016 at 01:03 PM · androiddelaytestingunity remote

Is there a better way to test my game on Android besides using Unity Remote?

Unity Remote isn't a terrible application. However, if you have used it before, I'm sure you've noticed that there is a bit of a delay between the game running in the Editor and the game running on your Android. For example, if a ball starts moving in the Editor, it's gonna start moving on your Android after a very short delay. I can usually live with this. It's just a feedback that is being sent from your computer onto your android. So I don't expect it to be perfect.

But the problem is that I'm trying to test a game that requires good coordination and reflexes from the player. So when I test this in Unity Remote, I keep losing every time because of the short delay. Is there a better way for me to test my game?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by tanoshimi · May 26, 2016 at 01:11 PM

Yes..... By clicking File -> Build and Run to compile your game to an .APK, install, and run it on the attached device.

Comment
Add comment · Show 5 · 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 Flaring-Afro · May 26, 2016 at 01:40 PM 0
Share

He/She will also have to go into the device's security settings and turn on allowing installation from unknown sources.

avatar image TheSaviour · May 26, 2016 at 05:36 PM 0
Share

Thanks. Solved the delay problem. Now the only problem is that one of the game objects is a bit out of place. In the Editor, I placed it at the far side of the screen (as a boundary). When played the game via Unity Remote, the boundary was right where I placed it. But when I play the game as an AP$$anonymous$$ on my android, I noticed that the boundary isn't perfectly visible. Only part of it is within the view while another part is out of the view. I even tried testing it in Bluestacks and it was fine. I don't understand why it's not totally visible on my phone.

$$anonymous$$aybe there's something I have to change in the development so that the view adjusts to all devices perfectly. Any solutions?

avatar image tanoshimi TheSaviour · May 26, 2016 at 06:13 PM 0
Share

"Adjusting to all devices perfectly" is pretty much the holy grail of mobile development.... :) There's no button you can tick to do this - it's a factor of the screen resolution, orientation, and aspect ratio - and you need to write code that adapts accordingly depending on how you want your game to behave in those different situations.

avatar image TheSaviour · May 26, 2016 at 06:37 PM 0
Share

And also, in case you're wondering, I'm not having any problem with the UI. I already used Canvas Scaler to adjust the UI to all devices. It's just the position of the game objects that I need to adjust. Could this be a resolution thing?

avatar image TheSaviour · May 26, 2016 at 07:09 PM 0
Share

I think I might have solved the problem. I added this script to the Start function of the camera:

 Screen.SetResolution(800, 1280, true); //sets the resolution to 800x1280 for all devices

And as for the UI, I used the Canvas Scaler component as mentioned in the manual:

http://docs.unity3d.com/$$anonymous$$anual/HOWTO-UI$$anonymous$$ultiResolution.html

I tested it out and this time, everything is in place.

Anyways, thanks for your help.

avatar image
0

Answer by Muhammad Salman · May 27, 2016 at 04:15 PM

There is a emulator called "Andy" you can install that and you don't need to attach any device with your system you just build and run ,you can play your game on it.

Comment
Add comment · 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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to use the Unity Remote on Android? 0 Answers

Android Testing On Unity Free HELP! 2 Answers

Unity Remote 5 android doesnt work.,Unity Remot 5 android doesnt work 2 Answers

unity remote don't working 0 Answers

Unity Remote 5 only works when I plug usb in after Unity has started 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