UnityRenderStreaming icon indicating copy to clipboard operation
UnityRenderStreaming copied to clipboard

[BUG]: can not scroll on ui or scrollview

Open lijunhe1991 opened this issue 1 year ago • 7 comments

Package version

3.1.0-exp.6

Environment

* OS:Windows 10
* Unity version:Unity 2021.3.6f1
* Graphics API:DirectX11
* Browser:Google Chrome

Steps To Reproduce

1.Mouse is on the UI 2.Scroll the mouse wheel

Current Behavior

No response

Expected Behavior

No response

Anything else?

No response

lijunhe1991 avatar May 30 '23 07:05 lijunhe1991

Hi, could you tell me what kind of scene you are testing? I want to reproduce your issue.

karasusan avatar Jun 06 '23 06:06 karasusan

Hi, could you tell me what kind of scene you are testing? I want to reproduce your issue.

Broadcast and WebBrowserInput scene.

lijunhe1991 avatar Jun 06 '23 08:06 lijunhe1991

Broadcast and WebBrowserInput scene.

At 2023-06-06 14:12:09, "Kazuki Matsumoto" @.***> wrote:

Hi, could you tell me what kind of scene you are testing? I want to reproduce your issue.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

lijunhe1991 avatar Jun 09 '23 03:06 lijunhe1991

Which UI in Broadcast scene are you checking? image

karasusan avatar Jun 13 '23 05:06 karasusan

In both scenes, I added the ScrollView control to implement the list function, and scrolling over the list does not work.

At 2023-06-13 13:28:58, "Kazuki Matsumoto" @.***> wrote:

Which UI in Broadcast scene are you checking?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

lijunhe1991 avatar Jun 13 '23 09:06 lijunhe1991

@lijunhe1991 Thanks for reporting, we will investigate this behavior. memo: URS-615

kannan-xiao4 avatar Jun 20 '23 05:06 kannan-xiao4

@lijunhe1991 hi friend, i came across this issue as well but i can add more clarification and a fix for it. There are actually few issues I found when scrolling/moving mouse that, when combined, makes it seem like scroll doesn't work.

  1. Scrolling when streaming is inverted
  2. Scrolling when streaming offsets the mouse
  3. Moving mouse when streaming flickers in and out Don't ask me for further context on why these issues exists, I dont know... maybe because I'm testing one mouse and using a browser + editor.

To fix this, I must first let you know that I'm using the New Input System. Download these two scripts Processors.zip Place these anywhere you'd like, and create a new Actions Asset for the EventSystem. Assuming that you're using the same Action Map as the default one, add the new scripts to the Action Map.

image image

and voila scrolling should work for you, i hope

JohnnyNgo avatar Jul 11 '23 09:07 JohnnyNgo