playMaker

Author Topic: windows phone bild error  (Read 2101 times)


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12344
  • Official Playmaker Support
    • View Profile
Re: windows phone bild error
« Reply #1 on: May 31, 2014, 03: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
 

jerydarkside

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: windows phone bild error
« Reply #2 on: July 22, 2014, 01:43:48 PM »
I have the same bug (video reproduced here http://youtu.be/zBF94GhXVro), 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12344
  • Official Playmaker Support
    • View Profile
Re: windows phone bild error
« Reply #3 on: July 23, 2014, 05: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

jerydarkside

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: windows phone bild error
« Reply #4 on: July 23, 2014, 02: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

jerydarkside

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: windows phone bild error
« Reply #5 on: July 28, 2014, 01: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
« Last Edit: July 28, 2014, 02:10:35 PM by jerydarkside »