Today I updated my macbook pro to macOS sequoia. with this I also downloaded the latest Xcode and visionOS 2 packages.
I had a working project. Which did work with my vision pro which is updated to the latest visionOS 2. But now whenever I try to click on preview in xcode while editing a swift file I am receiving the following error:
(lot of lines here)
Library/Developer/Xcode/DerivedData/test2-fznbrpphddkqdaddrzamkayoajjm/Build/Intermediates.noindex/RealityKitContent.build/Debug-xrsimulator/RealityKitContent_RealityKitContent.build/DerivedSources/RealityAssetsGenerated/CustomComponentUSDInitializers.usda error: Tool terminated by signal 'Segmentation fault: 11'
I tried exiting and restarting my mac but the problem is not going away. Can someone help me with this?
Thank you!
Hi @snehdev
The error is related to CustomComponentUSDInitializers.usda
in your Reality Composer Pro project. One way to find the culprit is to remove entities and/or their components until you find the offending item/items. I vaguely recall seeing something like this when someone made a change to a component that was not backward compatible. That is, someone added a required field to a component used by an existing Reality Composer Pro project.
That said, it sounds like your macOS, visionOS and Xcode are all up to date, but you get a seg fault. Do you get this error with newly created projects? Either way this seems like a bug. Please file a bug report with the information you provided here. If the bug is limited to your project please include your project.
Bug Reporting: How and Why? has tips on creating your bug report.