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.

System.Text.Encoding.UTF8.GetString(byte) Error

Discussion in 'Windows' started by Gamemiracle-GM, Oct 1, 2013.

  1. Gamemiracle-GM

    Gamemiracle-GM

    Joined:
    Aug 9, 2013
    Posts:
    12
    i found out problem.

    Simple Testing

    var lbyte=System.Text.Encoding.UTF8.GetBytes("ABC");

    var lResult=System.Text.Encoding.UTF8.GetString(lbyte); <---Error occur

    Editor,IOS, Android is ok

    deploy windows phone device have error
    error message : Exceoption ........ to access method system.text.encoding.getstring


    please help
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,530
  3. Gamemiracle-GM

    Gamemiracle-GM

    Joined:
    Aug 9, 2013
    Posts:
    12