Skip to content

Using Outlines in React Native #2043

@AidenCohen31

Description

@AidenCohen31
  • three version: 0.165.0
  • @react-three/fiber version: 8.16.8
  • @react-three/drei version: 9.109.1
  • node version:
  • npm (or yarn) version:

Problem description:

On React Native v0.74.3, using the Outlines component gives the error: Exception in HostFunction: Value is false, expected a number, js engine: hermes. Looking at the stack trace, it looks like the error is thrown because the screenspace uniform is expecting a float? Changing the shader to accept a boolean fixes the issue. Cannot replicate this issue on web.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions