-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
map-anisotropy={16} #56
Comments
in Backdrop.jsx ,there is scae={10} property instead of scale={10} in AccumulativeShadows tag , I don't know why it doesn't throw error. |
type mapAnisotropy={16} instead of map-anisotropy={16} |
still its not showing the tshirt |
have u got the solution of it? |
Yeah sure try to update your node version to the latest and try using mapAnisotropy={16} |
replacing "map-anisotropy" with "anisotropy" works for me |
Uncaught TypeError: Cannot read properties of undefined (reading 'anisotropy')
at index-5bde93f1.esm.js:667:46
at Array.reduce ()
at applyProps$1 (index-5bde93f1.esm.js:667:25)
at commitUpdate (index-5bde93f1.esm.js:297:12)
at commitWork (react-reconciler.development.js:15871:13)
at commitMutationEffectsOnFiber (react-reconciler.development.js:16204:9)
at commitMutationEffects_complete (react-reconciler.development.js:16057:7)
at commitMutationEffects_begin (react-reconciler.development.js:16046:7)
at commitMutationEffects (react-reconciler.development.js:16016:3)
at commitRootImpl (react-reconciler.development.js:18932:5)
react-reconciler.development.js:9747 The above error occurred in the component:
React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundary.
logCapturedError @ react-reconciler.development.js:9747
2react-three-fiber.esm.js:145 Uncaught TypeError: Cannot read properties of undefined (reading 'anisotropy')
at index-5bde93f1.esm.js:667:46
at Array.reduce ()
at applyProps$1 (index-5bde93f1.esm.js:667:25)
at commitUpdate (index-5bde93f1.esm.js:297:12)
at commitWork (react-reconciler.development.js:15871:13)
at commitMutationEffectsOnFiber (react-reconciler.development.js:16204:9)
at commitMutationEffects_complete (react-reconciler.development.js:16057:7)
at commitMutationEffects_begin (react-reconciler.development.js:16046:7)
at commitMutationEffects (react-reconciler.development.js:16016:3)
at commitRootImpl (react-reconciler.development.js:18932:5)
react-dom.development.js:18687 The above error occurred in the <ForwardRef(Canvas)> component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:18687
react-dom.development.js:26923 Uncaught TypeError: Cannot read properties of undefined (reading 'anisotropy')
at index-5bde93f1.esm.js:667:46
at Array.reduce ()
at applyProps$1 (index-5bde93f1.esm.js:667:25)
at commitUpdate (index-5bde93f1.esm.js:297:12)
at commitWork (react-reconciler.development.js:15871:13)
at commitMutationEffectsOnFiber (react-reconciler.development.js:16204:9)
at commitMutationEffects_complete (react-reconciler.development.js:16057:7)
at commitMutationEffects_begin (react-reconciler.development.js:16046:7)
at commitMutationEffects (react-reconciler.development.js:16016:3)
at commitRootImpl (react-reconciler.development.js:18932:5)
The text was updated successfully, but these errors were encountered: