playMaker

Author Topic: Unity 5 Mecanim Warning  (Read 2781 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Unity 5 Mecanim Warning
« on: March 03, 2015, 09:02:44 PM »
Assets/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs(138,94): warning CS0618: `UnityEngine.AnimatorStateInfo.nameHash' is obsolete: `Use AnimatorStateInfo.fullPathHash instead.'


How to I get rid of it or can someone fix and sent to ecosystem?
« Last Edit: March 04, 2015, 01:39:04 AM by jeanfabre »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Unity 5 Mecanim Warning
« Reply #1 on: March 03, 2015, 11:07:31 PM »
This is a warning, not an error. I don't think anything is broken from it. There are a number of actions that use depreciated code, hopefully we can be revisit them because the warnings are indeed a nuisance =)
« Last Edit: March 04, 2015, 01:39:18 AM by jeanfabre »
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity 5 Mecanim Warning
« Reply #2 on: March 04, 2015, 01:49:56 AM »
Hi,

 Thanks for reporting,I'll fix this in the next update of mecanim package.

 Indeed it's not an error, just a warning but it's not a nuisance in this case, it's actually a indication that refactoring is needed, so I'l flag this action obsolete and create the new one required to use the new system.

I made a trello task.

Please remind me in 2 weeks if I haven't done anything yet on this.
 
 Bye,

 Jean