Skip to content

[iOS] Still crashing on Viro components with position prop (even after 2.43.0) #334

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

Open
BillNas opened this issue Apr 22, 2025 · 3 comments
Labels
to be released It's fixed/done and coming in a next update

Comments

@BillNas
Copy link

BillNas commented Apr 22, 2025

I'm still experiencing a consistent crash on iOS when using the position prop with ViroText, ViroImage, or ViroNode — even after upgrading to @reactvision/[email protected].

The crash happens immediately upon rendering the AR scene, and Xcode logs show EXC_BAD_ACCESS

import React from 'react';
import {
  ViroARScene,
  ViroText,
} from '@reactvision/react-viro';

const TestARScene = () => {
  return (
    <ViroARScene>
      <ViroText
        text="Hello AR"
        position={[0, 0, -1]}
        scale={[0.3, 0.3, 0.3]}
        style={{ color: '#ffffff', fontSize: 20 }}
      />
    </ViroARScene>
  );
};

export default TestARScene;
"@reactvision/react-viro": "^2.43.0",
 "react": "18.3.1",
"expo": "~52.0.46",
"react-native": "0.76.7"
@alperen8
Copy link

Same issue with #324 , were you able to find a work-around or a fix for this ? on #324 there is a comment that says there will be a fix this week.

@doranteseduardo doranteseduardo added the to be released It's fixed/done and coming in a next update label Apr 26, 2025
@arnob016
Copy link

Hello, this version was not previously an issue for us at version 2.41.6 . But since 2.43.0 we're having this issue. We're still looking for a workaround to this issue. Please let me know if anyone finds an workaround, since 'a week' has passed already.

@SheikhFoysaldiu
Copy link

SheikhFoysaldiu commented May 19, 2025

Previous versions aslo aren't working now after releasing the 2.43.0.
Please let me know, if anyone find any solution to fix this issue.

i have tried different version expo 50, 51, 52 with different react native version.
Not a single version is working with viro-react after new release.
Please developer update the codebase asap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be released It's fixed/done and coming in a next update
Projects
None yet
Development

No branches or pull requests

5 participants