Search Unity

Windows Phone 8.1 OnSerializeNetworkView(BitStream stream, NetworkMessageInfo info) not working

Discussion in 'Windows' started by Muckel, Aug 18, 2015.

  1. Muckel

    Muckel

    Joined:
    Mar 26, 2009
    Posts:
    471
    Hello,
    i try to port my App to Windows Phone...
    still have some trouble with the network... but hopefully bug will fixed in next patch...
    Now i have a other issue...
    If i use OnSerializeNetworkView(BitStream stream, NetworkMessageInfo info)
    i get error message that BitStream & NetworkMessageInfo missing directive etc...

    What can i do?
    thx
    M.
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,920
    This was mentioned a lot of time, the legacy Network API is not supported on Windows Store Apps and Windows Phone, only UNET is supported.
     
  3. Muckel

    Muckel

    Joined:
    Mar 26, 2009
    Posts:
    471
    Hi,
    ah ok i see...it's not easy to see what is legacy and UNET.
    thx for quick reply!
    M.