Skip to content

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

Open
@BillNas

Description

@BillNas

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    to be releasedIt's fixed/done and coming in a next update

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions