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 52 renders nothing in preview build iOS. Works fine in dev build. #3397

Open
joekendal opened this issue Nov 15, 2024 · 4 comments
Open

Comments

@joekendal
Copy link

Anyone else encountered this issue when upgrading? Things are working just fine in development builds. No errors, everything rendered as expected. Only when opening a new Preview build causes a blank canvas, no loading of any models. No crashes.

@dooart
Copy link

dooart commented Nov 18, 2024

@joekendal same here - did you find any workaround yet besides creating a dev build?

@joekendal
Copy link
Author

@dooart Our workaround was to ditch this library and use react-native-filament instead.

May not be what you're looking for but our use case was simple enough that we didn't need a lot of the three.js functionalities

@jb-san
Copy link

jb-san commented Nov 19, 2024

I got it "working" by doing the following:

 <Canvas events={null} style={{ flex: 1, backgroundColor: 'red' }}>
        <Suspense>
          <OrbitControls />
          <Scene />
        </Suspense>
      </Canvas>

this makes it render on both iPhone and android, but it stops any click handlers on the meshes,
without the events={null} it works on web and android, but not ios

@jb-san
Copy link

jb-san commented Nov 21, 2024

I have a repro repo for expo 52 using the new architecture
#3399

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

3 participants