Reality Composer

RSS for tag

Prototype and produce content for AR experiences using Reality Composer.

Posts under Reality Composer tag

200 Posts

Post

Replies

Boosts

Views

Activity

Timeline for Reality Composer update?
Is there a timeline for when additional features will be added to Reality Composer? Right now, the tool offers some nice features, but it's missing a lot of things that could be really powerful: adding clickable links within the experience dragging and dropping video like you can do with pictures adding haptics I know some of this is possible with Xcode, but including these features would expand the use of Reality Composer significantly.
1
0
1.2k
Sep ’22
Different Anchors in Different Scenes in Reality Composer
I'm making an app using Reality Composer that has multiple scenes, each with a different anchor type. Several use a horizontal anchor, one uses an image anchor, and one uses a face anchor. Works great when testing within the realitycomposer app on iOS device, but the face and image anchor scenes do not work when publishing from x-code. Anyone know if this is possible or a limitation in Reality composer, or I'm not including something properly in X-Code?
0
0
745
Sep ’22
Scene loaded from .rcproject file doesn't show up in .nonAR mode on real iPhone 8
I tried to display a Scene loaded from a .rcproject file in ARView with .nonAR mode. But could not display it on my iPhone 8 which is actual device. I have confirmed that the simulator display the scene properly. If the camera mode is set to .ar, the scene is displayed in actual device. I am puzzled as to why scene loaded from .rcproject file does not show up with my actual device. If anyone has had the similar experience or has an idea of the cause, I would appreciate it if you could help me. Thank you for taking the time to read this post. struct ARViewContainer: UIViewRepresentable {     func makeUIView(context: Context) -> ARView { // if cameramode is ".ar", work properly         let arview = ARView(frame: .zero, cameraMode: .nonAR)         Sample.loadMySceneAsync { (result) in             do {                 let myScene = try result.get()                 arview.scene.anchors.append(myScene)             } catch {                 print("Failed to load myScene")             }         }                  let camera = PerspectiveCamera()         let cameraAnchor = AnchorEntity(world: [0, 0.2, 0.5])         cameraAnchor.addChild(camera)         arView.scene.addAnchor(cameraAnchor)         return arview     }     func updateUIView(_ uiView: ARView, context: Context) {} }
1
1
1.1k
Sep ’22
Can I use more than 1 Reality Composer project in the same ContentView?
I'm new in Reality Composer world and I'm doing a project where I need to load in the same App more than 1 reality composer project but it doesn't work. For exemple, I have 2 different RCproject, pro1 and pro2, that stand out according to the framed image that acts as an anchor for the scenario. I put them in Xcode and I add them in the contentView in this way // Load the "Box" scene from the Reality File let boxAnchor = try! pro1.loadMenu() let boxAnchor2 = try! pro2.loadScene() // add the boxAnchor to the scene arView.scene.anchors.append(boxAnchor) arView.scene.anchors.append(boxAnchor2) when I start the project on the ipad it installs the app and it works, it recognizes the image I use as an anchor and loads the correct project but after the first interaction it does nothing. If I change the framed image with the one connected to pro2 the app loads the right project but, again, after the first interaction it does nothing. While I use the app from my Ipad pro I have the following error as output in Xcode: "World tracking performance is being affected by resource constraints [1]" However, the app continues to be active and every time I change the framed image, the project I view also changes and, moreover, these keep the state they were in, thus allowing me to interact with the objects always only for a single tap and then freeze. Is there a solution to make the ipad select only the RC project requested when I frame a certain image? As an alternative solution I had thought of creating an initial menu that would make me choose which project to use, thus creating a different ContentView for each of them in order to show the right project through the user's choice and no longer through the framed image. is this a possible solution? Thanks in advance for your attention and any answers.
0
0
689
Sep ’22
Loading scene created from Reality Composer cannot be reused
I created a scene in Reality Composer which includes lots of different models. Then I load scene and try to load model and place them separately, the following is my UITapGestureHandler: guard let loadModel = loadedScene.findEntity(named: selectedPlant.selectedModel) else{ return } loadModel.setPosition(SIMD3(0.0,0.0,0.0), relativeTo: nil) My confusion is, when you use .findentity and place this model to the detected plane, it cannot be retrieved again: I try to call this again to place a second model after placing the first one, and .findentity returns nil. Does anyone know the mechanism behind it? I thought loading the scene will create a template in memory, but in contrary, it seems like only creating a sort of list and pop out entity for every call.
1
0
753
Sep ’22
xcode 13.4.1 (13F100) and reality composer use unstable
I have several reality composer models in my project. when I open more than one of them at a time, xcode loves to blow up (crash). Workflow: open xcode, open RC project1 , open RC projet2. share objects across scenes. Close RC project2, open RC project3, share and repeat. This causes xcode to beach ball and crash. Poor quality AR support/testing/quality.
1
0
894
Aug ’22
realitykit and reality composer behaviors entity isEnabled interaction possible bug
To reproduce the issue: After importing a RC .project scene, associate a scene entity (theEnntity) to an anchor entity. Enable theEntity (isEnabled = true). theEntity renders in the scene correctly. Execute a scene reality composer behavior Notification to disable theEntity (Hide > Affected Object > theEntity). theEntity no longer renders in the scene, which is correct behavior. Then the bug occurs where you are now unable to Enable theEntity (isEnabled = true). theEntity no longer renders correctly in the scene.
0
0
888
Aug ’22
Loading content from `.reality` file resulting in crash
Background I have generated some content using Reality Composer and imported the resulting .rcproject file into my iOS application in Xcode. Xcode creates a .reality file that is then loaded onto the App bundle while also auto-generating code to streamline the interface with this file. load<scene name>() type method is an example of a useful method from the generated code, which returns the specified scene from the .reality file. Observations Invoking the above method synchronously results in the App crashing (and only signalling Thread <thread>: EXC_BREAKPOINT). The crash occurs at loadAnchor(contentsOf:withName:) within the load<scene name>() method. The documentation for this does state that the method "Blocks your app while loading an anchor entity from a file URL", but I don't see why this should result in a crash (I would anticipate unresponsive UI, and this is only if it's being run on the main thread to begin with). Scheduling this operation on the main queue (via DispatchQueue or MainActor) overcomes the above issue. Placing the method within an unstructured Task does not result in a crash either, but scheduling it on a global queue results in a crash. The above behaviour is observed during unit tests as well, but the use of an unstructured Tasks also results in a crash here. Versions While I've listed the respective versions below, I've also experienced this behaviour in prior versions. Xcode 13.4.1 iOS 15.6
2
0
819
Aug ’22
Using ARKit Replay Data option in UI tests
In the Run scheme options for my ARKit application I am able to select a Reality Composer video to be replayed instead of using the devices camera/sensors. This is very useful for manual testing of my AR application. But what I would really like to do is use this features in my automated UI tests. However, when launching my application: let app = XCUIApplication() app.launch() The Reality Composer video is not replayed. Am I missing something? Is this feature supported in UI Tests?
1
1
1k
Jul ’22
Xcode 13.4.1 crashes when toggling between several Reality Composer scenes in project
xcode project contains: 7 RC .rcprojects, size range: 11.5MB-16MB/.rcproject Crash: Beach ball spin after toggling between .rcprojects in xcode where I Open RC for each project. I am inferring that there is a memory deallocate bug in xcode where after a .rcproject is opened in a tab, I open RC, work on a scene. Close the scene, then pick another .rcproject to work on. After about 3-4 iterations, xcode becomes non-resonsive, beach ball happens, then xcode crashes or I have to force kill it.
1
0
746
Jul ’22
Reality Composer Image Target Instability
Is anyone else having trouble with image targets in reality composer? When I move my phone directly over or in very close proximity to an image target, my scene shows correctly. But as soon as I move my camera away the scene seems to jump to some arbitrary location in the room. When I move back to the target it comes back to the correct location shortly.
Replies
1
Boosts
0
Views
1.2k
Activity
Oct ’22
Timeline for Reality Composer update?
Is there a timeline for when additional features will be added to Reality Composer? Right now, the tool offers some nice features, but it's missing a lot of things that could be really powerful: adding clickable links within the experience dragging and dropping video like you can do with pictures adding haptics I know some of this is possible with Xcode, but including these features would expand the use of Reality Composer significantly.
Replies
1
Boosts
0
Views
1.2k
Activity
Sep ’22
Different Anchors in Different Scenes in Reality Composer
I'm making an app using Reality Composer that has multiple scenes, each with a different anchor type. Several use a horizontal anchor, one uses an image anchor, and one uses a face anchor. Works great when testing within the realitycomposer app on iOS device, but the face and image anchor scenes do not work when publishing from x-code. Anyone know if this is possible or a limitation in Reality composer, or I'm not including something properly in X-Code?
Replies
0
Boosts
0
Views
745
Activity
Sep ’22
Scene loaded from .rcproject file doesn't show up in .nonAR mode on real iPhone 8
I tried to display a Scene loaded from a .rcproject file in ARView with .nonAR mode. But could not display it on my iPhone 8 which is actual device. I have confirmed that the simulator display the scene properly. If the camera mode is set to .ar, the scene is displayed in actual device. I am puzzled as to why scene loaded from .rcproject file does not show up with my actual device. If anyone has had the similar experience or has an idea of the cause, I would appreciate it if you could help me. Thank you for taking the time to read this post. struct ARViewContainer: UIViewRepresentable {     func makeUIView(context: Context) -> ARView { // if cameramode is ".ar", work properly         let arview = ARView(frame: .zero, cameraMode: .nonAR)         Sample.loadMySceneAsync { (result) in             do {                 let myScene = try result.get()                 arview.scene.anchors.append(myScene)             } catch {                 print("Failed to load myScene")             }         }                  let camera = PerspectiveCamera()         let cameraAnchor = AnchorEntity(world: [0, 0.2, 0.5])         cameraAnchor.addChild(camera)         arView.scene.addAnchor(cameraAnchor)         return arview     }     func updateUIView(_ uiView: ARView, context: Context) {} }
Replies
1
Boosts
1
Views
1.1k
Activity
Sep ’22
Can I use more than 1 Reality Composer project in the same ContentView?
I'm new in Reality Composer world and I'm doing a project where I need to load in the same App more than 1 reality composer project but it doesn't work. For exemple, I have 2 different RCproject, pro1 and pro2, that stand out according to the framed image that acts as an anchor for the scenario. I put them in Xcode and I add them in the contentView in this way // Load the "Box" scene from the Reality File let boxAnchor = try! pro1.loadMenu() let boxAnchor2 = try! pro2.loadScene() // add the boxAnchor to the scene arView.scene.anchors.append(boxAnchor) arView.scene.anchors.append(boxAnchor2) when I start the project on the ipad it installs the app and it works, it recognizes the image I use as an anchor and loads the correct project but after the first interaction it does nothing. If I change the framed image with the one connected to pro2 the app loads the right project but, again, after the first interaction it does nothing. While I use the app from my Ipad pro I have the following error as output in Xcode: "World tracking performance is being affected by resource constraints [1]" However, the app continues to be active and every time I change the framed image, the project I view also changes and, moreover, these keep the state they were in, thus allowing me to interact with the objects always only for a single tap and then freeze. Is there a solution to make the ipad select only the RC project requested when I frame a certain image? As an alternative solution I had thought of creating an initial menu that would make me choose which project to use, thus creating a different ContentView for each of them in order to show the right project through the user's choice and no longer through the framed image. is this a possible solution? Thanks in advance for your attention and any answers.
Replies
0
Boosts
0
Views
689
Activity
Sep ’22
What does Modal/ toggle exclusive state for this action sequence do?
There is absolutely no documentation I can find about this. on the ios version of Reality composer, when you are editing an action sequence, you can toggle Loop and Modal. in the mac version you can toggle an icon that says toggle exclusive state for this action sequence when you hover over it. What is that?
Replies
0
Boosts
0
Views
1.2k
Activity
Sep ’22
Reality Composer feature request - ABILITY TO CHANGE model plan level within an active AR scene
Having an ability to change the level of the scene plane or anchor plan on the fly would result in a much better user experience.
Replies
2
Boosts
1
Views
1.1k
Activity
Sep ’22
Reality Composer feature request - add ability to change pivot origin of model
Working in the real work sharing and creating new 3d models often results in dissimilar pivot points of each model. This results in difficulty adding and manipulating models within an active AR scene. Having an ability to change the anchor point on the fly would provide a world of difference in user experience.
Replies
0
Boosts
1
Views
929
Activity
Sep ’22
Loading scene created from Reality Composer cannot be reused
I created a scene in Reality Composer which includes lots of different models. Then I load scene and try to load model and place them separately, the following is my UITapGestureHandler: guard let loadModel = loadedScene.findEntity(named: selectedPlant.selectedModel) else{ return } loadModel.setPosition(SIMD3(0.0,0.0,0.0), relativeTo: nil) My confusion is, when you use .findentity and place this model to the detected plane, it cannot be retrieved again: I try to call this again to place a second model after placing the first one, and .findentity returns nil. Does anyone know the mechanism behind it? I thought loading the scene will create a template in memory, but in contrary, it seems like only creating a sort of list and pop out entity for every call.
Replies
1
Boosts
0
Views
753
Activity
Sep ’22
An unexpected error occurred while converting this file to USDZ.
I am trying to convert gltf to usdz via usdz converter ,but there are something went wrong."An unexpected error occurred while converting this file to USDZ."Has anybody know how to fix it, I'll be much appreciated!
Replies
2
Boosts
0
Views
1.1k
Activity
Aug ’22
xcode 13.4.1 (13F100) and reality composer use unstable
I have several reality composer models in my project. when I open more than one of them at a time, xcode loves to blow up (crash). Workflow: open xcode, open RC project1 , open RC projet2. share objects across scenes. Close RC project2, open RC project3, share and repeat. This causes xcode to beach ball and crash. Poor quality AR support/testing/quality.
Replies
1
Boosts
0
Views
894
Activity
Aug ’22
Reality Composer images not available
Hello, when I go to select an image from the preloaded images , many are missing . For example , under nature there is just rocks … not forest with a river. please help.
Replies
0
Boosts
0
Views
528
Activity
Aug ’22
Correct mime type for .reality file
I have a website at iis 10 windows server 2019 . the server not support reality file . so i want to add the correct mime type to iis to support it . Thanks for any help .
Replies
1
Boosts
0
Views
1.5k
Activity
Aug ’22
realitykit and reality composer behaviors entity isEnabled interaction possible bug
To reproduce the issue: After importing a RC .project scene, associate a scene entity (theEnntity) to an anchor entity. Enable theEntity (isEnabled = true). theEntity renders in the scene correctly. Execute a scene reality composer behavior Notification to disable theEntity (Hide > Affected Object > theEntity). theEntity no longer renders in the scene, which is correct behavior. Then the bug occurs where you are now unable to Enable theEntity (isEnabled = true). theEntity no longer renders correctly in the scene.
Replies
0
Boosts
0
Views
888
Activity
Aug ’22
Loading content from `.reality` file resulting in crash
Background I have generated some content using Reality Composer and imported the resulting .rcproject file into my iOS application in Xcode. Xcode creates a .reality file that is then loaded onto the App bundle while also auto-generating code to streamline the interface with this file. load<scene name>() type method is an example of a useful method from the generated code, which returns the specified scene from the .reality file. Observations Invoking the above method synchronously results in the App crashing (and only signalling Thread <thread>: EXC_BREAKPOINT). The crash occurs at loadAnchor(contentsOf:withName:) within the load<scene name>() method. The documentation for this does state that the method "Blocks your app while loading an anchor entity from a file URL", but I don't see why this should result in a crash (I would anticipate unresponsive UI, and this is only if it's being run on the main thread to begin with). Scheduling this operation on the main queue (via DispatchQueue or MainActor) overcomes the above issue. Placing the method within an unstructured Task does not result in a crash either, but scheduling it on a global queue results in a crash. The above behaviour is observed during unit tests as well, but the use of an unstructured Tasks also results in a crash here. Versions While I've listed the respective versions below, I've also experienced this behaviour in prior versions. Xcode 13.4.1 iOS 15.6
Replies
2
Boosts
0
Views
819
Activity
Aug ’22
Using ARKit Replay Data option in UI tests
In the Run scheme options for my ARKit application I am able to select a Reality Composer video to be replayed instead of using the devices camera/sensors. This is very useful for manual testing of my AR application. But what I would really like to do is use this features in my automated UI tests. However, when launching my application: let app = XCUIApplication() app.launch() The Reality Composer video is not replayed. Am I missing something? Is this feature supported in UI Tests?
Replies
1
Boosts
1
Views
1k
Activity
Jul ’22
Xcode 13.4.1 crashes when toggling between several Reality Composer scenes in project
xcode project contains: 7 RC .rcprojects, size range: 11.5MB-16MB/.rcproject Crash: Beach ball spin after toggling between .rcprojects in xcode where I Open RC for each project. I am inferring that there is a memory deallocate bug in xcode where after a .rcproject is opened in a tab, I open RC, work on a scene. Close the scene, then pick another .rcproject to work on. After about 3-4 iterations, xcode becomes non-resonsive, beach ball happens, then xcode crashes or I have to force kill it.
Replies
1
Boosts
0
Views
746
Activity
Jul ’22
Reality Composer
If I create an object: for example a sphere of a certain material can I know its weight? Can I know the specific weight of a material among those I can choose in Reality Composer? Thank you to those who can help me.
Replies
2
Boosts
0
Views
702
Activity
Jul ’22
Videos in RealityComposer?
Can we put Videos in RealityComposer on iPad or iPhone?
Replies
1
Boosts
0
Views
783
Activity
Jul ’22
Reality Composer with 3d hat objects
Hello, is there a way to import 3d hat objects and have it anchored to head? Using face anchor only seems to anchor to the front of face, no matter how I position it. Thanks in advance.
Replies
0
Boosts
0
Views
724
Activity
Jul ’22