Skip to content

Race condition with onPointerMove of instancedMesh #3736

@AJamesPhillips

Description

@AJamesPhillips

Hi all, really enjoying using react-three fiber after putting off learning about it for a while. I built a more complex application but was running into an intermittent bug. I've made a more minimal application which you can see here and that may show the bug for you.

Here's a video of the intermittent behaviour: https://www.youtube.com/watch?v=7aVIiTKgfQ4

I'm not sure but I think this is a react-three-fiber bug as I put some debugger points into the code and found that the intersect function would (when exhibiting the bug) not return any hits. I haven't dug any deeper yet nor filed an issue yet. I think this is a bug in R3F and not ThreeJS.

Any thoughts or help welcomed. Thank you 🙏

(copied from discussion thread)

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