Author Topic: UDP in the web player is simply no longer supported.  (Read 4476 times)

enzi

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 21
    • View Profile
UDP in the web player is simply no longer supported.
« on: March 01, 2013, 06:49:05 PM »
Hey!

Can you tell me why that is?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UDP in the web player is simply no longer supported.
« Reply #1 on: March 01, 2013, 09:01:16 PM »
I don't think Unity allows UDP in the web player.

enzi

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 21
    • View Profile
Re: UDP in the web player is simply no longer supported.
« Reply #2 on: March 02, 2013, 11:30:14 AM »
Oh my that's absolutely horrible to hear and stupid beyond belief on Unity's part.

From what I read now it's technically not an issue but Unity's socket layer requests the crossdomain.xml with every UDP send/rcv and doesn't buffer it.


klept

  • Guest
Re: UDP in the web player is simply no longer supported.
« Reply #3 on: March 03, 2013, 06:17:17 PM »
I don't think Unity allows UDP in the web player.

But I read photon plugin for Unity uses UDP to communicate with the photon cloud, and it works in the web player.. how is this possible?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UDP in the web player is simply no longer supported.
« Reply #4 on: March 03, 2013, 10:07:24 PM »
It most likely falls back to TCP for the web player. I'm pretty sure Photon does both.