how to select 3d object in web? raycast can not work

how to select 3d object on web? raycast can not work.

Is this the same issue?
https://github.com/Unity-Technologies/UnityRenderStreaming/issues/616

nope, I mean use ray to check 3d object in scene:

void Update()
{
if (Input.GetMouseButton(0))
{
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit hit;
if(Physics.Raycast(ray,out hit, 100f))
{
Destory(hit.collider.gameObject);
}
}
}

this work in editor,but can not work on web rendering ( RenderStreaming ).

You need to use Input System instead of legacy Input APIs.
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.3/manual/Migration.html

tks it works, but there is another issue :
the mouse click point is not exactly, has some offset, use WebBrowserInput Example
7787313--983079--issue.png

@GEESCAN
How about other samples?

You can set the resolution of unity editor and web page to be the same value