Playmaker Forum

Archived Boards => Windows Phone 8 Help => Topic started by: creonic on May 31, 2014, 04:57:16 AM

Title: windows phone bild error
Post by: creonic on May 31, 2014, 04:57:16 AM
error:
https://www.dropbox.com/s/gi2iwqx1zu215gl/Screenshot%202014-05-31%2001.34.47.png

in unity3d:
https://www.dropbox.com/s/3pfloie2z34xybr/Screenshot%202014-05-31%2011.55.53.png
Title: Re: windows phone bild error
Post by: jeanfabre on May 31, 2014, 06:36:28 AM
Priviet :)

That's an fsm from hell!!! Man it must have took you hours to get that. Could you not finda  way to do some dynamic logic to avoid duplications?


Are you using the action "Mouse events"? I think it's a bad idea anyway since you are developing for a touched based device.

Bye,

 Jean
 
Title: Re: windows phone bild error
Post by: jerydarkside on July 22, 2014, 04:43:48 PM
I have the same bug (video reproduced here and I don't understand what happens.

In a simple project (with nothing in it), if I import Playmaker and the windows phone addon, I have a runtime error about mouse events. I have no script of my own.

If think there is something in playmaker.dll that conflict with unityengine.dll?

I tried to compile and run another complete project from the asset store and it runs well on windows phone emulator.

Thank you if you have any clue

Jery
Title: Re: windows phone bild error
Post by: jeanfabre on July 23, 2014, 08:56:11 AM
Hi,

 not able to test right now, but are you sure you have imported the PlayMaker special build for Windows phones? I do that mistake all the time, I think this is the error that gives a clue about that.

 Bye,

 Jean
Title: Re: windows phone bild error
Post by: jerydarkside on July 23, 2014, 05:00:09 PM
Hi,

Thank you for your answer, but I imported well the addon (double checked ;)

Furthermore, the addon works well if I use Unity 4.3.2. The runtime error only appears if I use Unity 4.5 (and the Playmaker WP8 addon).

This may be a bug with Unity.

(Somebody has the same problem since July in the unity forum http://forum.unity3d.com/threads/unityengine-sendmouseevents-dosendmouseevents-error.256056/)

For now, it doesn't matter, my workaround being to build with Unity 4.3.2.

Sincerely,

Jery
Title: Re: windows phone bild error
Post by: jerydarkside on July 28, 2014, 04:59:11 PM
It seems that the problem of this thread is solved in the Unity 4.5.2 patch 2 released this week.

Now it runs OK on windows phone 8 emulator. Cool ;)

However, when compiling, there is a warning log in unity
Windows Phone 8 doesn't support "System.ComponentModel.LocalizableAttribute, System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Used by "HutongGames.PlayMaker.ReflectionUtils, PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null". Context: "GetGlobalType" method.
UnityEngine.Debug:LogWarning(Object)

I don't know if it will be a problem latter, but for now, everything is ok. No runtime error.

I will try and do some simple tuto projects this week end to test more deeply.

Sincerely,

Jery