It works fine in Create (v2022.3.1), but it crashes the entire app in Create XR (v2022.2.0-rel.1). I tried building from scratch in a custom Kit App (v103.5). It builds fine, but it crashes the app when enabled. When it crashes, it points to this part of the code:
If that doesn’t work, you could try rolling back the repo to a pre-release commit that uses Kit 103.5 since we may have needed to apply certain fixes to repo depending on the Kit version.
My issue was with the Kit App configuration. The hello_world extension from the repo works just fine as is. I had the wrong configuration for my kit app where the wrong version of carb_sdk_plugins was being used. Once that was corrected, the C++ extensions built fine. Thanks!