Error with new HingeJoint2D wheels gets set to new JointMotor2D in WP8

Hi, I have a problem I do not know how to fix (I’m quite newbie in programming)

My game correctly played Android and IOS, but I get an error Wphone8 debugging and visual studio makes a mistake and get the wheels of my car does not get moving.

I leave the error that occurs if someone had the solution, as I said only happens in windows phone

Exception: Common Language Runtime detected an invalid program.
Type: System.InvalidProgramException
Module: UnityEngine
InnerException:
AdditionalInfo:
at UnityEngine.HingeJoint2D.set_motor (JointMotor2D value)
at RcCar.FixedUpdate ()
at RcCar.UnityFastinvoke_FixedUpdate ()

Thank you all for the help in this respect, greetings from Spain

From the error it looks like your game was not build properly for windows phone.
Do you use any plugins?

hI, the only plugin is to show specific ads for WP8 who is working in other games without problems.

Actually I do not know where the problem comes because this same game has been compiled for android, BB10 and IOs without any problem.

Thanks for the help and if you need part of the script would be happy just to facilitate a solution.

Hi,

this is a known issue in Unity 4.3.4. It has to do with HingeJoint2D marshalling, and there is no workaround other than not using HingeJoint2D on Windows Phone at all. However, this issue is fixed in 4.5, and it’s getting released soon.