Playmaker Forum

Archived Boards => Windows Phone 8 Help => Topic started by: Vlad on November 01, 2013, 04:31:33 AM

Title: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
Post by: Vlad 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
Title: Re: System.Text.Encoding::GetString(System.Byte[])
Post by: jeanfabre 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
Title: Re: System.Text.Encoding::GetString(System.Byte[])
Post by: Vlad 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
Title: Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
Post by: ecbouma 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
Title: Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
Post by: refinedgames 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.
Title: Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
Post by: jeanfabre 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
Title: Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
Post by: ecbouma on November 18, 2013, 09:18:45 AM
yes i am on 4.3 ... will try 4.2.... Tnx!
Title: Re: System.Text.Encoding::GetString(System.Byte[])[SOLVED]
Post by: refinedgames 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