Skip to content
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

Problem with Draco Compressed .glb files and RigidBody colliders #627

Open
stefano-ciotola opened this issue Feb 22, 2024 · 0 comments
Open

Comments

@stefano-ciotola
Copy link

stefano-ciotola commented Feb 22, 2024

Description

When attempting to import a Draco-compressed .glb file in Blender and using it within a <RigidBody colliders="hull"> component, I encounter an error stating "expected instance of BA". This issue prevents the proper creation of colliders, hindering the use of physics with the imported model.

Steps to Reproduce

Expected Behavior

The Draco-compressed .glb model should be correctly imported and wrapped with the specified collider without any errors, as it happens with other compressed .glbs.

Actual Behavior

An error is thrown during the creation of the collider, specifically when the component attempts to process the Draco-compressed model.

Error stack

expected instance of BA
a@http://localhost:3000/static/js/bundle.js:2658:32
createCollider@http://localhost:3000/static/js/bundle.js:3178:8
createCollider@http://localhost:3000/static/js/bundle.js:7632:20
createCollider@http://localhost:3000/static/js/bundle.js:7092:27
createColliderFromOptions@http://localhost:3000/static/js/bundle.js:21238:16
./node_modules/@react-three/rapier/dist/react-three-rapier.esm.js/AnyCollider</getInstance<@http://localhost:3000/static/js/bundle.js:22097:47
./node_modules/@react-three/rapier/dist/react-three-rapier.esm.js/useImperativeInstance/getInstance<@http://localhost:3000/static/js/bundle.js:21994:21
./node_modules/@react-three/rapier/dist/react-three-rapier.esm.js/useImperativeInstance/<@http://localhost:3000/static/js/bundle.js:22000:22
commitHookEffectListMount@http://localhost:3000/static/js/bundle.js:70474:30
commitPassiveMountOnFiber@http://localhost:3000/static/js/bundle.js:72037:42
commitPassiveMountEffects_complete@http://localhost:3000/static/js/bundle.js:72008:38
commitPassiveMountEffects_begin@http://localhost:3000/static/js/bundle.js:71998:45
commitPassiveMountEffects@http://localhost:3000/static/js/bundle.js:71988:38
flushPassiveEffectsImpl@http://localhost:3000/static/js/bundle.js:74281:32
flushPassiveEffects@http://localhost:3000/static/js/bundle.js:74241:18
./node_modules/react-reconciler/cjs/react-reconciler.development.js/$$$reconciler/commitRootImpl/<@http://localhost:3000/static/js/bundle.js:74066:13
workLoop@http://localhost:3000/static/js/bundle.js:81952:46
flushWork@http://localhost:3000/static/js/bundle.js:81930:18
performWorkUntilDeadline@http://localhost:3000/static/js/bundle.js:82167:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant