Replies: 1 comment
-
this doesnt seem correct, color = "NolmalShirt02.001" is not valid |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My intention is to customize items in character in webview and sent the items name from react native.
The data is send correctly but when I need to set the state inside the web add event listener.
It have no problem when set state in color, but it crash when set state color and geometry
`function Boy(props) {
const group = useRef()
const { nodes, materials } = useGLTF('/man6.gltf')
}
useGLTF.preload('/man6.gltf')`
I try to put the state outside the function, it's work.
Note: useSnapshot can't use twice in the same function and I'm not sure why.
Did anyone have any suggest about this? Thank you
Beta Was this translation helpful? Give feedback.
All reactions