playMaker

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

calculmentor

  • Playmaker Newbie
  • *
  • Posts: 10
    • View Profile
PM1.8 UGUI problem [SOLVED]
« on: March 08, 2016, 10:29:55 AM »
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, 06:07:37 PM by Alex Chouls »
calcul mentor

  *designer*

calculmentor

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

  *designer*

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2288
    • View Profile
    • jinxtergames
Re: PM1.8 UGUI problem
« Reply #2 on: March 08, 2016, 12: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: 10
    • View Profile
Re: PM1.8 UGUI problem
« Reply #3 on: March 08, 2016, 12: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: 3207
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PM1.8 UGUI problem
« Reply #4 on: March 08, 2016, 12: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: 10
    • View Profile
Re: PM1.8 UGUI problem
« Reply #5 on: March 08, 2016, 03: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: 3207
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PM1.8 UGUI problem [SOLVED]
« Reply #6 on: March 08, 2016, 06:07:23 PM »
So it's working now? I'll mark this solved.