Search Unity

Networking demo and facebook

Discussion in 'Multiplayer' started by innercircus, Nov 14, 2009.

  1. innercircus

    innercircus

    Joined:
    Aug 19, 2009
    Posts:
    15
    Hello everyone,

    I've been through the docs as much as possible and scoured the forums as well. If this is a repeat question I appologize in advance.

    I'm pretty familiar with the Unity networking demo and have tried to setup a facebook app that embeds unity into an index.php file that sits on my server. The facebook app calls the index.php file on my server as the canvas page.

    To my knowledge I didn't do anything weird or wrong. the file seems to load up fine, and I can start a server. However "connecting" another player to the game seems to do nothing. Meaning the "connect" button in the Unity networking demo doesn't actually connect.

    When I navigate to the file without facebook, everything works great.

    Am I missing some fundamental understanding of any restrictions that may be imposed by embedding unity in an index.php on my server and then referencing it through facebook?

    Any help would be greatly appreciated and thanks in advance.
     
  2. SpiritWebb

    SpiritWebb

    Joined:
    Nov 10, 2009
    Posts:
    38