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

Expo 50 on iOS: useTexture throws "Failed to getSize of Image" #3300

Open
joekendal opened this issue Jul 1, 2024 · 5 comments
Open

Expo 50 on iOS: useTexture throws "Failed to getSize of Image" #3300

joekendal opened this issue Jul 1, 2024 · 5 comments

Comments

@joekendal
Copy link

joekendal commented Jul 1, 2024

const texture = useTexture(validRemoteUrl)

Failed to getSize of file:///var/mobile/Containers/Data/Application/...

@joekendal
Copy link
Author

Line 131 in packages/fiber/src/native/polyfills.ts

Related issue: expo/expo-three#297

@farzadali3
Copy link

Hey @joekendal, were you able to resolve this issue. I am facing the same error on iOS when using a s3 presigned url.

@joekendal
Copy link
Author

I had the same problem with S3 presigned url but found a workaround

@joekendal
Copy link
Author

@farzadali3 I cannot check the project repo as it was a contract and have deleted my copy.

But I think it had something to do with loading it manually using expo/expo-three#297 (comment)

@farzadali3
Copy link

@joekendal Thanks a lot for your prompt response. I saw your comment, but it just says to pass the whole asset instead of the URI—am I missing something?

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

2 participants