Cody Bennett

Results 360 comments of Cody Bennett
trafficstars

That doesn't look correct, looks like a mistake. Same for `expo-asset` which is automatically pulled in by `expo`. We'll have to unpin `expo-gl` and drop or list the others as...

I tried tweaking this in #2004. Hopefully, that should work without issue: ```js "@react-three/fiber": "https://pkg.csb.dev/pmndrs/react-three-fiber/commit/673ffe4e/@react-three/fiber" ```

Can you create an issue for this? We're not getting dependencies quite right and I'd like to get more eyes on this.

Yes, I pointed this out to three where they swapped over to fetch under the hood for loaders. They since patched loaders to skip onprogress checks for environments without streaming...

How are you loading your model? Is this packed into a single GLB/GLTF or split up into bin/textures? Not sure if the implementation is the same in GLTFLoader but GLBs...

Just an update, the polyfills to threejs core loaders is published in beta-05 (see [react-native installation instructions](https://docs.pmnd.rs/react-three-fiber/getting-started/installation#react-native)), but there's some work to be done on react-native's side for Blobs/URL APIs...

@Pratim-Kumar-Hazarika, yes some issues in react-native we're sorting out. If a polyfill becomes available we can use it but currently loading binary embedded images out of GLBs doesn't work right...

@filipengberg, @LautaroNavarro, there was previously https://github.com/facebook/react-native/issues/21209 and https://github.com/facebook/react-native/pull/30769, but they grew stale. There is a fix via [`react-native-blob-jsi-helper`](https://github.com/mrousavy/react-native-blob-jsi-helper), but it cannot be upstreamed ATM. See https://github.com/CodyJasonBennett/react-native/commit/facd9bb81ec3fb7ae9dc6b8e235455c864039193, these modules are rarely...

Interesting, I've run into that issue before, but couldn't pinpoint why/when. The error is emitted from https://github.com/facebook/react-native/blob/dbe6fab06343281e4d96c073bf1a69f73024b810/Libraries/Blob/URL.js#L128. Will have to create a blank project and test.

I have a basic starter here: https://github.com/CodyJasonBennett/r3f-native-starter, but I need to update it to Expo 46 and apply patches from this issue (for embedded textures).