playMaker

Author Topic: PM1.8 UGUI problem [SOLVED]  (Read 4265 times)

calculmentor

  • Playmaker Newbie
  • *
  • Posts: 15
PM1.8 UGUI problem [SOLVED]
« on: March 08, 2016, 12:29:55 PM »
hi there
strange problem with GetLastPointerEventData.cs:

Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(221,74): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldNormal' is obsolete: `Use either pointerCurrentRaycast.worldNormal or pointerPressRaycast.worldNormal'
Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(226,76): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldPosition' is obsolete: `Use either pointerCurrentRaycast.worldPosition or pointerPressRaycast.worldPosition'

restarting unity seems to solve the problem but after a while, it comes back..
any idea??
(Unity 5.3.3f1)

thx!
n.
« Last Edit: March 08, 2016, 08:07:37 PM by Alex Chouls »
calcul mentor

  *designer*

calculmentor

  • Playmaker Newbie
  • *
  • Posts: 15
Re: PM1.8 UGUI problem
« Reply #1 on: March 08, 2016, 01:14:28 PM »
and some  problem with the PlayMakerFSMVariablePropertyDrawer.cs(59,59) !
calcul mentor

  *designer*

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: PM1.8 UGUI problem
« Reply #2 on: March 08, 2016, 02:04:05 PM »
Hi,
These are just warnings pointing out that in the code of that script there are some commands that will be removed in a feature version of unity.

So everything is still working fine :)

Next time you may post in the help section for questions, you will have more chance to a response there :)

calculmentor

  • Playmaker Newbie
  • *
  • Posts: 15
Re: PM1.8 UGUI problem
« Reply #3 on: March 08, 2016, 02:12:36 PM »
Oups...help section ..sorry!
but,... editor can't compile..it's not just a warning..
i think that it's due to the UGUI proxy example in ecosystem that overwriting working scripts from the UGUIproxy  ...with the new way PM1.8 import package...
thx !
n.
calcul mentor

  *designer*

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: PM1.8 UGUI problem
« Reply #4 on: March 08, 2016, 02:22:03 PM »
The two console messages you posted look like warnings. Normally warnings don't prevent builds. Are there other console messages that are errors?

calculmentor

  • Playmaker Newbie
  • *
  • Posts: 15
Re: PM1.8 UGUI problem
« Reply #5 on: March 08, 2016, 05:00:15 PM »
thx alex,
see  attached image..
i think that there is a problem with diferente version of UGUIproxy, UGUIproxyfull, between web site and ecosystem..
reimport UGUI proxy from the website fixed it!
thx!
n.
calcul mentor

  *designer*

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: PM1.8 UGUI problem [SOLVED]
« Reply #6 on: March 08, 2016, 08:07:23 PM »
So it's working now? I'll mark this solved.