'DracoDecoderModule' missing error in Babylon React Native

On trying to load a draco compressed file using SceneLoader.AppendAsync getting “DracoDecoderModule” error. The Babylon version being used is Babylon Native 4.2

Error: /meshes/29/primitives/0: Property ‘DracoDecoderModule’ doesn’t exist
Error: /meshes/29/primitives/0: Property ‘DracoDecoderModule’ doesn’t exist
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:295274:30)
at tryCallOne (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27058:16)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27159:27)
at apply (native)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30710:26)
at _callTimer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30598:17)
at _callImmediatesPass (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30637:17)
at callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30854:33)
at __callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2736:35)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2522:34)
at __guard (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2719:15)
at flushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2521:21)
[Thu Nov 19 2020 18:03:13.645] WARN Possible Unhandled Promise Rejection (id: 1):
Error: /meshes/29/primitives/0: Property ‘DracoDecoderModule’ doesn’t exist
Error: /meshes/29/primitives/0: Property ‘DracoDecoderModule’ doesn’t exist
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:295274:30)
at tryCallOne (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27058:16)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27159:27)
at apply (native)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30710:26)
at _callTimer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30598:17)
at _callImmediatesPass (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30637:17)
at callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30854:33)
at __callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2736:35)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2522:34)
at __guard (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2719:15)
at flushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2521:21)

pinging @bghgary, @Drigax and @Cedric

Hi @Ankit_Yadav

The Draco module is not bundled with Babylon Native for now because of work in progress features.
It will be soon!

2 Likes