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

Android Basic 4.x: Photon works!?!?

Discussion in 'Android' started by PhobicGunner, Jul 7, 2013.

  1. PhobicGunner

    PhobicGunner

    Joined:
    Jun 28, 2011
    Posts:
    1,813
    Hello everybody.
    I am in the midst of writing a book on multiplayer in Unity. I have come to a chapter on Photon Unity Networking w/ Photon Cloud.
    Purely for kicks and grins, I decided to push a demo scene to an Android device with my Android Basic license, fully expecting it to fail.
    To my surprise, it successfully connect to Photon.
    "Wait, what?" I thought to myself. Doesn't Android Basic restrict .NET sockets? And surely Photon uses them? I know for a fact it does. So why does it work?
    I knew this issue existed under 3.x, but I swear I saw a release note saying they fixed that.

    I do have a Unity Pro trial, but this does not appear to affect my Android builds: in all other respects, I appear to have a plain old Android Basic license (for example, image effects do not work).

    So what's going on here?
     
  2. PhobicGunner

    PhobicGunner

    Joined:
    Jun 28, 2011
    Posts:
    1,813
    BUMP

    I normally wouldn't bump so quickly, but I would love to have this answered ASAP.

    If this is induced somehow by having a Pro trial active, then OK, I'll continue to use Unity Networking for my personal projects.
    However, if this is a bug in the current version of Unity..... is there anything wrong with me taking advantage of the bug? :p (I'm not kidding, if I can use Photon without having to get my hands on $3,000 just for the one feature of .NET sockets, I definitely will. It's far superior to Unity Networking - no offense, UT)
     
  3. Ishkur

    Ishkur

    Joined:
    Nov 18, 2011
    Posts:
    26
    I am monitoring this thread!
     
  4. PhobicGunner

    PhobicGunner

    Joined:
    Jun 28, 2011
    Posts:
    1,813
    In case anybody is reading, I have just discovered the answer.

    This is indeed a bug in Unity caused by having a Pro trial license (unless this is intended behavior?? I doubt it)
    After my Pro trial expired, the APK would no longer compile due to referencing System.Net.Sockets.