expo-three icon indicating copy to clipboard operation
expo-three copied to clipboard

Obj, mtl File Could be not read

Open Timson020 opened this issue 1 year ago • 1 comments

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 avatar Aug 29 '22 04:08 Timson020

i run in ios

Timson020 avatar Aug 29 '22 04:08 Timson020