playMaker

Author Topic: Unity 2d Action Errors  (Read 2038 times)

RC

  • Full Member
  • ***
  • Posts: 148
Unity 2d Action Errors
« on: May 16, 2015, 02:05:18 PM »
Hi,

Is there a fix for this error. Just did a fresh install of the latest Unity 5 along with latest playmaker 1.7.8.3.
Everything works well, but when unity 2d action is imported I get this error.
Quote
Assets/PlayMaker Unity 2D/Actions/Internal/RigidBody2dActionBase.cs(20,35): error CS0619: `UnityEngine.GameObject.rigidbody2D' is obsolete: `Property rigidbody2D has been deprecated. Use GetComponent<Rigidbody2D>() instead. (UnityUpgradable)'


Quote
Assets/PlayMaker Unity 2D/Actions/Internal/RigidBody2dActionBase.cs(20,25): error CS0266: Cannot implicitly convert type `UnityEngine.Component' to `UnityEngine.Rigidbody2D'. An explicit conversion exists (are you missing a cast?)

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity 2d Action Errors
« Reply #1 on: May 17, 2015, 07:31:17 AM »
Hi,

 ok, thanks for reporting, I'll correct this and push on monday. But I am surprise the Unity upgrade system did not kick in, try to force it manually from the menu.

 Bye,

 Jean