Post

Replies

Boosts

Views

Activity

iOS 15 RealityKit AnchorEntity possible bug
The context is: ARSessionDelegate func session(_ session: ARSession, didAdd anchors: [ARAnchor]) {} Upon Image Detection, place an overlay of a RC Entity at the ImageAnchor location. Using IOS 14, I have been reliably using: mySceneAnchorEntity = AnchorEntity(anchor: imageAnchor) to render additive RC scene content. Additive model entities render correctly in the field of view. When I upgraded to IOS 15 using the same code that had been working for many (~12) months on all versions of IOS 14, my code failed to render any RC scene content. I get a ghosting of all of the render content in the proper location, but visible only for a moment, then it disappears. So, I finally found the root cause of the issue. It appears that IOS 15 only renders correctly in my application using: mySceneAnchorEntity = AnchorEntity(world: imageAnchor.transform). This led to many frustrating days of debugging to find the root cause. As a side note, IOS 14 renders RC scene entities correctly using both variants of AnchorEntity: mySceneAnchorEntity = AnchorEntity(anchor: imageAnchor) and mySceneAnchorEntity = AnchorEntity(world: imageAnchor.transform) So, this leads me to believe there is an issue with the behavior of IOS 15 with the following version of AnchorEntity: mySceneAnchorEntity = AnchorEntity(anchor: imageAnchor)
15
0
2.5k
Jan ’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
757
Aug ’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
663
Jul ’22
xcode 13.4 crashes upon Reality Composer scene open
Start xcode 13.4, choose a .rcproject file in the current project. Go to window where RC scene is rendered, choose Open in Reality Composer and xcode crash occurs. Restart xcode and crash cycle happens immediately due to current window being a RC scene. Repeat this bad behavior till you quickly choose another (non-RC) file Tab upon open of xcode and before xcode is in a steady run state.
6
1
1.2k
May ’22
RealityKit ARKit major issues after iOS15 upgrade on iPad Pro
Just upgraded my ipadOS app to iOS15 and the AR part of the app is now completely broken. Literally no AR functionality works. Other than that, an awesome upgrade;) I verified I'm not crazy by installing the same app to iPad8 running iOS14.8 and my AR functionality works fine. broken environment: xcode13, ios15 (prod release), iPadPro working environment: xcode13, ios14.8, iPad8 I think this is worth a zoom meeting to demo my findings with the apple dev team.
3
0
1.8k
Sep ’21
RealityKit AnimationEvents question
How do you watch for animationevents in Swift? I have a move animation which has a duration (timingFunction) of 3 seconds and need to be alerted when the move operation on an Entity is complete. I need to be altered for: AnimationEvents.PlaybackCompleted. How do you set up this event alert watcher in it's own thread or closure in Swift5.0?
1
0
964
Nov ’21