expo-three
expo-three copied to clipboard
Obj, mtl File Could be not read
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
i run in ios