playMaker

Author Topic: UI is Pointer over UI Object - not working in Unity 2020  (Read 2745 times)

san

  • Junior Playmaker
  • **
  • Posts: 93
UI is Pointer over UI Object - not working in Unity 2020
« on: July 25, 2020, 02:46:02 PM »
Can anyone test this action for me?
I installed Unity 2020 a few days ago and this "UI is Pointer over UI Object" is not working on my iphone.

Thanks
« Last Edit: July 25, 2020, 03:08:27 PM by san »

san

  • Junior Playmaker
  • **
  • Posts: 93
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #1 on: July 25, 2020, 04:20:18 PM »
Can someone check with Linker Wizard as well?

Its not working on my current Unity 2020.
Also I am also getting this error with substance. I had to removed and replace from Previous 20.19.4 files.

So i had this object doing On/Off when figure is go over UI.  Seem like maybe Wizard is not responding.

https://ibb.co/p2PCg7X

The left one is current Unity 2020 that i am getting link text asset script.
Right one is previous Unity 2019.4

https://ibb.co/10ZV13y
« Last Edit: July 25, 2020, 04:25:54 PM by san »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #2 on: July 28, 2020, 01:43:32 AM »
Hi,

 uhm, good catch, let me fix this and push an update on the ecosystem.

Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #3 on: July 28, 2020, 02:11:34 AM »
Hi,

 after some investigation, it seems you have a problem with your playmaker installation. Can you reinstall playmaker?

 I confirm that the error you have is not due to unity 2020, but due to a bad user define symbol, it's missing some that should be added when playmaker is installed. maybe you have removed these symbols ( deleted the settings for that project maybe?)

Bye,

 Jean

san

  • Junior Playmaker
  • **
  • Posts: 93
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #4 on: July 29, 2020, 03:36:03 AM »
Hi Jeans, thanks and playmaker is working properly but i had these issue below but they are working now.

- Linker Wizard
It's working but I had to do these steps to work properly... click an object that has set property then click play... then i click linker wizard. Otherwise if i just click play and click linker wizard, it did not update the xml script. But in Previous Unity 2019, all i had to do is click play and run linker wizard and works.

-UI is Pointer over UI object
It's working but I had problem with this actions under the Canvas. Inside Canvas I had a Plane UI and inside that i have Buttons. Somehow UI Pointer is not working so I removed Plane UI and move all buttons under Canvas and it start to work. I don't know is this a bug or UI pointer can be place and use in empty object anywhere in Hierarchy right? or is has to be in Canvas only?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7624
    • jinxtergames
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #5 on: July 29, 2020, 06:13:13 AM »
Hi.
What you mean by plane UI?

as there is no plane UI component.

Maybe you mean a Ui panel. or a image.
if so it might overlap the buttons. you can turn on/of 'Raycast Target' on images.

if you placed a plane inside the canvas then that might be the issues as you should only place ui objects inside the canvas.

san

  • Junior Playmaker
  • **
  • Posts: 93
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #6 on: July 29, 2020, 11:27:45 PM »
Hi Djaydino, thanks ~! yes i meant to say panel ~ not plane lol.

I have one more question, is it possible to Over write rotation/Input Vector of smooth look at direction with look at rotation/Target Direction?
For example, i have joystick that doing smooth look at direction for character direction/rotation and also i want to tap or drag anywhere on screen to pin point out character is looking using look at target direction.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7624
    • jinxtergames
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #7 on: July 30, 2020, 05:58:48 AM »
Hi.
You Probably need some sort of listener.

So that 'on tap' you can temporary disable the joystick control (the fsm that is doing the smooth look at.
and after disabled, do the look at rotation/Target Direction.
Then turn the joystick control on again.
You might need to use some next frame events in between.

san

  • Junior Playmaker
  • **
  • Posts: 93
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #8 on: August 01, 2020, 08:09:08 PM »
Thanks djaydino, I solved this issue before i wrote previous comment. I just want alternative better solution, but seem its the same. Thanks for the help. :)

I have one more Question ~ this one i dont know how to solve it yet.
So Ui Pointer is working and when i tap and drag anywhere on screen - character facing the direction that i want. Also if UI pointer overlap to buttons on canvas its doing on and off everything is correct and good.

But is there a way to deactivate second Finger touch on screen?
If first finger touch then I don't want second or third Finger to active UI pointer.
is there a way to deactivate them ?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7624
    • jinxtergames
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #9 on: August 02, 2020, 02:11:17 AM »
Hi.
I think you need to use the pointer id.

san

  • Junior Playmaker
  • **
  • Posts: 93
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #10 on: August 02, 2020, 06:17:40 PM »
I do have a pointer ID - variable and putting into Get touch info - Finger ID. I just don't know how to disable multiple touch.

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 773
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #11 on: August 03, 2020, 10:27:06 AM »
I do have a pointer ID - variable and putting into Get touch info - Finger ID. I just don't know how to disable multiple touch.

You cannot disable extra touches but you can filter them by using the finger ID to apply interface controls only if finger#1 is touching the screen. Playmaker's action will detect automatically if the touch that is registered is of the first finger (primary contact on the touch screen) or a secondary finger (or more).

san

  • Junior Playmaker
  • **
  • Posts: 93
Re: UI is Pointer over UI Object - not working in Unity 2020
« Reply #12 on: August 04, 2020, 02:44:16 AM »
Broken Stylus, Thanks ~! I am doing another part now, so i will come back to this later.