Protobuf Error Crash

We are developing a mixed reality app for Vision Pro using Reality Composer Pro, but we're consistently encountering a Protobuf-related crash whenever we enter the immersive space. Our Reality Composer Pro package is quite complex, with numerous objects. Could the complexity of the package be contributing to the issue, or could something else be at play? No errors are being flagged in the code or Reality Composer itself. Here’s the error log:

[libprotobuf FATAL /Library/Caches/com.apple.xbs/Sources/REKit/ThirdParty/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc:276] CHECK failed: (count) >= (0): libc++abi: terminating due to uncaught exception of type google::protobuf::FatalException: CHECK failed: (count) >= (0):

Any insight on what might be causing this would be appreciated.

Hello @jkeraa

This behavior is unexpected. Please ensure Xcode and visionOS are up to date. If the behavior persists, I'd appreciate it you filed a bug report (via feedback assistant) with a focused example that reproduces the issue. Aside from that, I can offer general troubleshooting advice. If you haven't already, try removing portions of the Reality Composer Pro scene (start higher up the tree then work your way down) to see if you can zero in on the culprit. This is likely a bug, but finding the proximate cause may help you create a work around.

Protobuf Error Crash
 
 
Q