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

Obj, mtl File Could be not read #269

Open
Timson020 opened this issue Aug 29, 2022 · 1 comment
Open

Obj, mtl File Could be not read #269

Timson020 opened this issue Aug 29, 2022 · 1 comment

Comments

@Timson020
Copy link

It is my code

const assets = Asset.fromModule(require('../assets/3.obj'))
await assets.downloadAsync()
loadAsync([ assets.localUri ], null, res => console.info(res))

It is error msg:

ExpoTHREE.loadObjAsync: Expo.FileSystem Failed to read uri: file:///Users/timson/Library/Developer/CoreSimulator/Devices/4FC3A354-2592-4CA7-A31D-48B717073C77/data/Containers/Data/Application/1E30A1DC-7B04-474D-B384-11BF75F5A66F/Library/Caches/ExponentExperienceData/%2540timson020%252FExpoDemo/ExponentAsset-e6f8d099b88511008b6b450109ea5ee2.obj. ExpoTHREE: FileSystem.readAsStringAsync(file:///Users/timson/Library/Developer/CoreSimulator/Devices/4FC3A354-2592-4CA7-A31D-48B717073C77/data/Containers/Data/Application/1E30A1DC-7B04-474D-B384-11BF75F5A66F/Library/Caches/ExponentExperienceData/%2540timson020%252FExpoDemo/ExponentAsset-e6f8d099b88511008b6b450109ea5ee2.obj) File 'file:///Users/timson/Library/Developer/CoreSimulator/Devices/4FC3A354-2592-4CA7-A31D-48B717073C77/data/Containers/Data/Application/1E30A1DC-7B04-474D-B384-11BF75F5A66F/Library/Caches/ExponentExperienceData/%2540timson020%252FExpoDemo/ExponentAsset-e6f8d099b88511008b6b450109ea5ee2.obj' could not be read
@Timson020
Copy link
Author

i run in ios

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