Skip to content

Clicks not registering in Unity #1115

@Volko76

Description

@Volko76

Hi,
I'm trying to make an AR mobile app.
The interface is in HTML and is served by a server. It communicates via Unity via EvaluateJS.

I would like to be able to click on the red area to place object in the floor (using a raycast).
presentation

The red area is transparent (I set the webview to transparent too) and I see the Unity world here.
The issue is that when I click in the red area, my click is not registered by Unity (in android) so it doen't trigger the placement of the object at this position.

I tried to use https://github.com/gree/unity-webview/tree/experimental/unity-over-native-ui and it seems to work in the editor but not in android. I also tried with 32Bit and RendeOverNativeUi enabled and disabled and it changed nothing. I know it is in experimental.

Am I missing something ?

Thanks a lot for the project and the help provided
Wishing you the best day

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions