Possible Unhandled Promise Rejection (id: 0):
See original GitHub issueHello. Thanks for the library! I get this error when trying to load 3ds files. Obj files work just fine. Any thoughts why this might be happening
Possible Unhandled Promise Rejection (id: 0):
Object {
"bubbles": false,
"cancelable": false,
"currentTarget": XMLHttpRequest {
"DONE": 4,
"HEADERS_RECEIVED": 2,
"LOADING": 3,
"OPENED": 1,
"UNSENT": 0,
"_aborted": false,
"_cachedResponse": undefined,
"_hasError": true,
"_headers": Object {},
"_incrementalEvents": true,
"_lowerCaseResponseHeaders": Object {},
"_method": "GET",
"_requestId": null,
"_response": "",
"_responseType": "arraybuffer",
"_sent": true,
"_subscriptions": Array [],
"_timedOut": false,
"_trackingName": "unknown",
"_url": "file:///data/user/0/host.exp.exponent/cache/ExperienceData/%2540alexandrius%252FMenuT/ExponentAsset-69b6af9f880511e31e20a76bb1454953.3ds",
"readyState": 4,
"responseHeaders": undefined,
"status": 0,
"timeout": 0,
"upload": XMLHttpRequestEventTarget {
Symbol(listeners): Object {},
},
"withCredentials": true,
Symbol(listeners): Object {
"error": Object {
"kind": 2,
"listener": [Function anonymous],
"next": null,
},
"load": Object {
"kind": 2,
"listener": [Function anonymous],
"next": null,
},
"progress": Object {
"kind": 2,
"listener": [Function anonymous],
"next": null,
},
},
},
"eventPhase": 2,
"isTrusted": false,
"target": XMLHttpRequest {
"DONE": 4,
"HEADERS_RECEIVED": 2,
"LOADING": 3,
"OPENED": 1,
"UNSENT": 0,
"_aborted": false,
"_cachedResponse": undefined,
"_hasError": true,
"_headers": Object {},
"_incrementalEvents": true,
"_lowerCaseResponseHeaders": Object {},
"_method": "GET",
"_requestId": null,
"_response": "",
"_responseType": "arraybuffer",
"_sent": true,
"_subscriptions": Array [],
"_timedOut": false,
"_trackingName": "unknown",
"_url": "file:///data/user/0/host.exp.exponent/cache/ExperienceData/%2540alexandrius%252FMenuT/ExponentAsset-69b6af9f880511e31e20a76bb1454953.3ds",
"readyState": 4,
"responseHeaders": undefined,
"status": 0,
"timeout": 0,
"upload": XMLHttpRequestEventTarget {
Symbol(listeners): Object {},
},
"withCredentials": true,
Symbol(listeners): Object {
"error": Object {
"kind": 2,
"listener": [Function anonymous],
"next": null,
},
"load": Object {
"kind": 2,
"listener": [Function anonymous],
"next": null,
},
"progress": Object {
"kind": 2,
"listener": [Function anonymous],
"next": null,
},
},
},
"timeStamp": 1553355759835,
"type": "error",
Symbol(stop_immediate_propagation_flag): false,
Symbol(canceled_flag): false,
Symbol(original_event): Object {
"type": "error",
},
}
This is my metro.config.js
module.exports = {
resolver: {
assetExts: ["db", "mp3", "ttf", "obj", "png", "jpg", "otf", "mtl", "3ds"]
}
};
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
React Native: Possible unhandled promise rejection
Possible unhandled promise rejection (id:0: Network request failed). Here's the promise code, I don't see what's wrong here, any ideas?
Read more >Possible Unhandled Promise Rejection (id:0) #7107 - GitHub
If this object is disturbed or locked, return a new promise rejected with a TypeError. Simply said, the following is likely to produce...
Read more >React Native Auth0 Possible Unhandled Promise Rejection
My understanding of the error is that it is saying, 'we can't find any value for the Auth0Module object property you are looking...
Read more >Possible Unhandled Promise Rejection (id: 0): | Mendix Forum
I have upgraded a native mobile app with NFC dependency from 8.6.9 (all working well) to 8.18.4. I built a new dev .apk...
Read more >React Native Auth0 Possible Unhandled Promise Rejection
Possible Unhandled Promise Rejection (id: 1): TypeError: undefined is not an object (evaluating '_yield$getCredentials.accessToken').
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same with dae , glb and gltf extensions
Tried using asset.uri instead of asset.localUri and Android works in debug mode, but when distributed via APK, it fails to load the uri due to it being local… (file:///)