Не работает unity remote 5 xiaomi

По какой причине может не работать Unity Remote?

В unity указаны пути к sdk/jdk/ndk.
Есть установленная Android Studio с установленными Google Play Licensing Library, Google Play services и Google USB driver
В Project Settings->Editor->Device указано «Any Android Device»
На телефоне включил режим разработчика и включил отладку по usb.
Запускаю Unity Remote, включаю игру в редакторе и ничего не происходит. Пробовал в режиме зарядке и в режиме передачи файлов. Ничего не меняется.

Имеет ли значение директория студии, sdk/jdk/ndk?

Телефон — Xiaomi Redmi Note 5.

  • Вопрос задан более двух лет назад
  • 1881 просмотр

Галочки Developer Build не было. Установил. На телефоне вылезло уведомление с подтверждением. Подтвердил. И все равно не работает.

«тот же профаилер с телефона виден,может подключится??» с таким еще не сталкивался. Где это посмотреть?

про профаилер — не знаете если , то игнорируйте. это было просто убедится, что телефон видит комп. что онив одной сети и тд.

Читайте также:  Почему не работает вот бот

убедитесь что у вас юнити современной версии, что то из 5.6 и новее.
и что само приложение у вас на телефоне не старое а под 5 и более новые версии
https://play.google.com/store/apps/details?id=com.

убедитесь что у вас не несколько деваисов подключено, в доке описана настроика.

а вообще похоже на прикол прошивки именно китайца. иначе в В Project Settings->Editor->Device был бы пункт именно с деваисом вашим.

если есть возможность попробуйте установить Unity Remote на другой телефон

Источник

Не работает Unity Remote 5

Помощь в написании контрольных, курсовых и дипломных работ здесь.

На соединяет с Unity Remote
Доброго времени суток, нужно проверить acceleration на телефоне, ну что бы постоянно не скачивать.

Unity 2d unity.engine.ui не работает
using System.Collections; using System.Collections.Generic; using UnityEngine; using.

Unity в одном классе работает функция, а в другом не работает
Имеется несколько файлов в игре, приведу два из них. Почему в одном случае в классе GameControl.

Игра работает корректно в Unity, но не работает после билда
Разрабатываю игру на Android. Решил сделать билд для проверки на телефоне. В Unity все скрипты.

Динамический ScrollView работает в Unity, не работает в Android
Странная проблема. Есть scrollview. Заполняю его динамически префабами. В unity работает, все.

Junior/Senior C# Unity Developer (Remote)
Молодая студия ищет талантливых специалистов со всего мира! Копания базируется в Michigan, USA. .

Не работает remote в validate.jquery
Всем доброго времени суток, делаю форму регистрации с проверкой на валидацию, но не могу.

Не работает Remote VPN Access ASA 8.2
Добрый день! Пробовал настроить VPN вот поCENSORED] инструкции. Почему-то не работает. Если.

Phpstorm — не работает окно «browse remote host» или ftp
В общем в phpstorm есть такая функция как browse remote host (можно управлять файлами на удаленном.

Источник

Unity remote 5 not working

I tried running unity remote, but when I press play in unity editor, nothing happens on my phone. I think I need to do more than just to connect my phone with pc, set the editor to any android device and press start, but those are the only things it says.

It simply doesn’t work and I do not know why.

Thanks for any help.

9 Answers 9

  1. Ensure you have enabled USB Debugging in your mobile.
  2. Ensure you have set Edit -> Project Settings -> Editor -> Device to Any Android Device.
  3. Ensure you have given the package name in File -> Build Settings -> Player Settings. -> Other Settings (under Android Settings) -> Package Name.
  4. (Optional) Install USB Driver for your mobile. (Normal USB Driver for Redmi)
  5. Close Unity Engine
  6. Connect your mobile via USB.
  7. Launch Unity Remote 5.
  8. Launch Unity Engine in PC
  9. Click on Play

For me the issue was that even though the android SDK had been installed alongside Unity 2019, the SDK path(s) in Edit > Preferences were empty when de-selecting the checkbox. When I hit Browse next to each of the three (JDK, SDK, NDK) then all paths were automatically filled with something similar to C:\Program Files\Unity\Hub\Editor\2019.2.4f1\Editor\Data\PlaybackEngines.

On another machine I tested with, these paths were set automatically, so this is probably a bug some people see and others not.

After this was done, it worked for me, assuming the following setup:

  • Device connected to PC using a data cable (not just a charge cable).
  • Device has USB debugging enabled via developer mode settings on device.
  • Device authenticated on the PC (for me, I needed to change the connection type on the phone after plugging it in from File Transfer to MIDI, which prompted the authentication request, after which I switched it back to File Transfer).

You can see if a device is authenticated or not by running adb.exe in C:\Program Files\Unity\Hub\Editor\2019.2.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools in a command prompt window (cmd) and the ‘list’ command: adb.exe list

The connected device will either not show at all (so check your cable) or it will show a GUID followed by ‘unauthenticated’ (so change the connection type as previously mentioned to prompt for authentication) or it will show ‘device’ in which case we’re good to go.

Start with the editor and remote closed, the device connected and authenticated (this is a one-off setup), and then open Unity Remote. Then open the Unity editor, assuming you’ve already set the SDK paths, and ensure your Project Settings > Editor > Unity Remote Device is set to Any android device.

You do NOT need to set the Build Settings to target android; this is for deploying the .apk file, and nothing to do with using the device as a remote. Likewise you do NOT need to set a package name or anything else in the Build Settings, at least until you want to deploy the built file to the device, but again this is nothing to do with Unity Remote.

Источник

Unity Remote

Unity Remote is a downloadable app designed to help with Android, iOS Apple’s mobile operating system. More info
See in Glossary and tvOS development. The app connects with Unity while you are running your project in Play Mode from the Unity Editor. The visual output from the Editor is sent to the device’s screen, and the live inputs are sent back to the running project in Unity. This allows you to get a good impression of how your game really looks and handles on the target device, without the hassle of a full build for each test.

Note: For Unity Remote to work, you need to have the Android SDK on your development machine.

Unity Remote replaces the separate iOS and Android Remote apps used with earlier versions. Those older Remote apps are no longer supported.

Device and feature Support

Unity Remote currently supports Android devices (on Windows and OS X via a USB connection) and iOS devices (iPhone, iPad, iPod touch and Apple TV, through USB on OS X and Windows with iTunes).

The Game View of the running Unity project is duplicated on the device screen, but at a reduced framerate. The following input data from the device is also streamed back to the Editor:

  • Touch and stylus input
  • Accelerometer
  • Gyroscope
  • Device camera A component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
    See in Glossary streams
  • Compass
  • GPS
  • Joystick names and input

Note that the Remote app simply shows the visual output on the device and takes input from it. The game’s actual processing is still done by the Editor on the desktop machine — so its performance is not a perfect reflection of the built app.

Obtaining and using Unity Remote

You can download Unity Remote for free in the form of a Unity project that you build yourself, or as a pre-built app from the device’s app store:

  • Android app from Google Play
  • iOS and tvOS apps from the App Store

Once you’ve downloaded the app, install and run it on your device and connect the device to your computer using a USB cable.

To enable Unity to work with your device, open the Editor settings in Unity (menu: Edit > Project Settings A broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
See in Glossary , then select the Editor category) and select the device to use from the Unity Remote section:

Note: To specify the location of your Android SDK, go to Edit > Preferences (Windows) or Unity > Preferences (Mac).

Click the Play button in the Editor to see your game appear on the device and in the Unity game window as Unity connects to the Remote app. While the game plays, input from the device (accelerometer, etc.) is sent to your scripts A piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary as if they were running on the device itself.

Troubleshooting

I have more than one device plugged in, but only one of them works with Unity

Unity Remote doesn’t support multiple connected Android devices, and to resolve this, it automatically picks the first device it finds. However, it is fine to have multiple iOS/tvOS devices and one Android device connected at the same time, since you can select which one to use from the Editor settings (menu: Edit > Project Settings, then select the Editor category).

I’m getting really poor graphics quality when running my game in Unity Remote

When you use Unity Remote the game actually runs in the Editor, while its visual content is streamed to the target device. Since the bandwidth between the Editor and the device is limited, the stream must be compressed heavily for transmission. This compression A method of storing data that reduces the amount of storage space it requires. See Texture Compression, Animation Compression, Audio Compression, Build Compression.
See in Glossary inevitably reduces the image quality.

In the Unity Remote section of the Editor window (menu: Edit > Project Settings, then select the Editor category) you can switch the compression method between JPEG and PNG. PNG compression is “lossless” (so the image quality doesn’t degrade) but uses more bandwidth than JPEG. A downsized image has lower bandwidth requirements than one at full resolution. By changing these settings, you can trade image accuracy off against framerate as necessary. When using a lower resolution, be aware that Unity Remote downsizes images for better performance.

Bear in mind that Unity Remote is only really intended to give a quick approximate check of how your game will look and feel when running on the device. Make sure that you occasionally do a full build and test the “real” app.

Источник

Unity remote 5 not working / setup

In this post we will explore how you can setup unity 5 remote. Also if your unity remote 5 is not working what some of the possible solutions are to fix it. As you may know unity remote 5 is an excellent tool to allow you to test your unity games. It allows you to test on a android or ios device while you are developing. For this post we going to be looking at the android setup. This seems to be the one most people have an issue getting unity remote 5 working with.

Setup android device

In order to setup your android device you need to make sure that android developer options are enabled. If you don’t have them enabled yet. You can go over to your settings->about phone/tablet. Then scroll down and tap build number 7 times. This will then unlock developer options on your android device.

Unity remote 5 – enable android developer options

Once you have your developer options enabled you should be able to enable usb debugging and mock location. See below screenshots for what needs to be enabled to allow your android device to use unity remote 5.

Unity remote 5 – developer options settings

Once you have done this you can now start installing unity remote 5. Make sure for any issues you are having either in 2018 or 2019 that you use unity remote 5. You can download unity remote 5 here to your device. Once installed run unity remote 5 and you should see something like this.

unity remote 5 open app

If you have gotten this far then your mobile device is about ready to start being used with unity. Let’s now look at the unity settings you need.

Unity settings for unity remote 5

Before you can start setting the options in unity you need to make sure you have the android sdk installed. Go ahead and install that. Once installed you should have an application called android studio. Run android studio and click on tools and sdk manager.

Next you will need to install the google usb driver. So to do that follow the below instructions.

Click on the sdk tools tab. You will now see this.

Check the Google USB Driver checkbox and click apply and ok to install the driver. You should now have everything you need from android studio.

The next step requires that you launch unity hub and is where most of the issues are when your unity remote 5 does not want to work. So open up unity hub.

Click on installs then you will get something similar to this.

Click on the 3 dots for the unity version you have. Then click on add modules.

Make sure you have android build support checked and click done.

Now create yourself a new unity project. Then you can change the following settings.

Click on file->build settings

Click on Android and Switch Platform.

Unity set android build for unity remote 5

Next we need to setup unity to allow our android device. In order to do this click on edit->project settings.

Click on edit on the left and choose any android device.

Next we need to make sure our sdk is correct. Click on edit->preferences.

Make sure Use Embedded JDK is checked.

Now you can simply plugin your android device using a usb cable. Then you need to use PTP camera as your usb method. This will allow unity to stream your game to unity remote 5.

Frequently asked questions

What is unity remote 5?

Unity remote 5 is a app which you can install on your mobile device. Which will allow you to run your Unity game straight on your mobile device while in the Unity editor. This will help you simulate input you may need to get from your device for your game.

Can you use Unity for Android?

Unity fully supports android development. You can use the Unity remote 5 app to test your unity game on your android device. Then when you are happy you can compile your unity project to a apk for use on your mobile device or publishing to the android app store.

How do I publish a unity game on android?

In order to publish a unity game you need to build the apk file. To do this you need to go into Player settings->Build settings choosing the android platform and build your apk. Once you APK is built you can upload it to the google play store.

Where can I download unity remote 5?

You can download unity remote 5 for android from the google play store. For apple you can get it from the apple store.

Why is my unity remote device not showing?

If you have not installed the google usb driver for your android device it may not pickup your device. To install it you need to go into your android studio ide and install the google usb driver package. Also you need to make sure that your adb service is running to pick up your mobile device.

Or check out some of my other blog posts and tutorials here is a great one on how to do drag and drop in unity.

Источник

Оцените статью