Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Help with Remote 4

Discussion in 'iOS and tvOS' started by Lennie3, May 28, 2014.

  1. Lennie3

    Lennie3

    Joined:
    Jul 30, 2012
    Posts:
    16
    Help with Remote 4

    Hi, Can anyone help
    I downloaded ver 4.5 free Unity. Made a project ready for any iOS device.
    I downloaded Remote 4. It created a scene called Remote with a gameObject
    called Code and two scripts attached (Remote Connection and Screen Steam)
    I attached my Apple Tab by USB.

    I get an error saying 'Object reference not set to an instance of an object'

    ------------------------------ Trying Remote 3 ----------------
    After trying that I downloaded an APP for the Apple called Remote 3
    I put in my IP and I get press PLAY on the Apple screen.

    (1) Should my game show on the Apple screen ?
    (2) The game runs on the Unity game screen but not look different.
    (3) Can I make an APK and run it on my own Apple tab without going
    through the Apple Store ?

    Thanks

    Lennie
     
  2. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    We will doublecheck that Asset Store version works. At the moment you might try Unity Remote 4 from Apple store: https://itunes.apple.com/us/app/unity-remote-4/id871767552?mt=8

    1. Install it on device
    2. Launch it
    3. Open some unity project in Unity Editor
    4. Go to Edit -> Project Settings -> Editor and select iOS device
    5. Hit Play in Editor, now you should see your project rendering on remote
     
  3. Smilediver

    Smilediver

    Joined:
    May 5, 2011
    Posts:
    72
    Did you run the downloaded Remote 4 app in editor or device? You should be running it on device. Just double checking. :)
     
  4. medvedya2012

    medvedya2012

    Joined:
    May 27, 2014
    Posts:
    41
    I've got the same problem.
    Unity didn't find my ios devises. I've chosen "any ios device" in Editor settings and I push play.
    But my screen of device didn’t show anything except "Connect the device with usb cable to your......."
    I was trying with cable and WiFI.
    iTunes and iTouls found my devices with cable. With WiFi didn’t.
    What is the reason?
     
  5. Lennie3

    Lennie3

    Joined:
    Jul 30, 2012
    Posts:
    16
    Hi
    Thanks, got it to work from Apple store using Remote 4

    Lennie
     
  6. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Could you tell us details on your system setup: OSX version, Xcode version, device model and iOS version it is running.
    Thanks!
     
  7. Smilediver

    Smilediver

    Joined:
    May 5, 2011
    Posts:
    72
    Also, please, add what iTunes version you're using, or at least make sure you have the latest one. (Behind the scenes editor uses iTunes' usbmuxd to establish connection to remote app).

    P.S. Remote 4 uses USB exclusively, it doesn't support Wi-Fi.
    P.S.2. Sometimes it's stubborn, and just refuses to work. :) Some things to try are:

    * Stopping/playing your game in editor.
    * Deselecting and reselecting "Any iOS Device".
    * Restarting editor, and making sure no "unityiproxy" processes are running. Either use "Activity Monitor" or just run "killall unityiproxy" in command line.
    * We also noticed that in some rarer cases device reboot is required. But usually things above should solve the issue.
     
  8. medvedya2012

    medvedya2012

    Joined:
    May 27, 2014
    Posts:
    41
    I use PC with Windows 8.1
    The mobile device has IOS 7.1.1
    iTunes is 11.2.2.3
    I've recently reinstalled OS in my PC but that did not help.

    I was trying to use tambourine but no result.
     
  9. medvedya2012

    medvedya2012

    Joined:
    May 27, 2014
    Posts:
    41
    I found the string - "
    • iOS: iPhone, iPad, iPod touch (through USB, only on OSX)
    "
    Now I understand.
     
  10. Jaxily

    Jaxily

    Joined:
    Jul 17, 2014
    Posts:
    16
    I found a bug for the iPhone when using hit test. My code works for Android, but not for IOS the hit test doesn't see the guitexture.

    if (Input.touchCount > 0) {
    for(inti = 0; i < Input.touchCount; i++) {
    Toucht = Input.GetTouch(i);


    if (guiLeft.HitTest((t.position),cam)) {

    Debug.Log("Touching Left Control");
    break;
    } //else
     
  11. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Bugreport please with repro project attached.
    Thanks!