playMaker

Author Topic: System.Text.Encoding::GetString(System.Byte[])[SOLVED]  (Read 3777 times)

Vlad

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
System.Text.Encoding::GetString(System.Byte[])[SOLVED]
« on: November 01, 2013, 04:31:33 AM »
Hi,

I've just installed the WP8 addon for my project but when I try to build the solution I get the following error:

Error building Player: Exception: Error: method `System.String System.Text.Encoding::GetString(System.Byte[])` doesn't exist in target framework. It is referenced from PlayMaker.dll at System.String HutongGames.PlayMaker.FsmUtility::ByteArrayToString(System.Byte[]).

What can I do to solve this?

Thank you,
Vlad
« Last Edit: November 04, 2013, 12:08:54 PM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: System.Text.Encoding::GetString(System.Byte[])
« Reply #1 on: November 03, 2013, 10:21:15 PM »
Hi,

 If you try an empty clean project with playmaker with a dummy scene, does it also fire this error? else, could you tell me what actions you are using? I'll try to repro here.

bye,

 Jean

Vlad

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: System.Text.Encoding::GetString(System.Byte[])
« Reply #2 on: November 04, 2013, 06:34:08 AM »
Hi,

I'm not sure why the issue occurred but after updating to the latest Unity version and re-importing the project it worked fine.

Thank you,
Vlad

ecbouma

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
« Reply #3 on: November 17, 2013, 05:03:16 AM »
Hi there,

I have just installed the latest version of unity, installed latest playmaker and after that the latest windows Phone 8 addon. Then i delete the photon unity networking directory.
When i create a dummyscene i still always get this error.

How can i get around it ?

Tnx,
Elco

refinedgames

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
« Reply #4 on: November 17, 2013, 02:00:00 PM »
Are you on Unity 4.3 ?  I had to go back to 4.2 to get it to compile... They are working on an update, but I dont know how long til it is submitted.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
« Reply #5 on: November 17, 2013, 11:44:56 PM »
Hi,

 Yes, A lot of effort is put on that front at the moment, so it's coming soon.

bye,

 Jean

ecbouma

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
« Reply #6 on: November 18, 2013, 09:18:45 AM »
yes i am on 4.3 ... will try 4.2.... Tnx!

refinedgames

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
« Reply #7 on: November 18, 2013, 09:58:50 AM »
I think it is specifically Unity 4.2.1 that it compiles for... haven't tried 4.2.0