expo / expo-three

Utilities for using THREE.js on Expo
MIT License
711 stars 87 forks source link

Cannot use TextureLoader Expo SDK 45. #263

Closed TeamBaconn closed 1 year ago

TeamBaconn commented 2 years ago

Its show Value is undefined, expected an Object no stack when ever i use new TextureLoader().load(url). I'm using SDK 45 "expo": "~45.0.0", "expo-three": "^5.7.0", "expo-gl": "~11.3.0", Can someone help me with this error? I tried everything i got

danmaas commented 2 years ago

I believe this might be the result of some version skew among the Expo and Three packages. Below are the list of known-good packages I am using:

  "dependencies": {
    "expo": "^45.0.0",
    "expo-gl": "~11.3.0",
    "expo-gl-cpp": "~11.3.0",
    "expo-three": "~6.0.1",
    "three": "^0.135.0",
   },
  "resolutions": {
    "**/@expo/browser-polyfill": "^1.0.0",
   }