Hello,
I recently downloaded the same from Creating a Game with SceneUnderstanding, and the out-of-the-box compilation failed, with what appears to be some structural misses in RealityKit.
This is with Xcode 12.4 (12D4e) - and a number of compilation complaints appear to be Objective-C elements not being correctly bridged, or otherwise unavailable to the compiler.
Missing:
Is there something I can/should update to get the scene understanding elements back available from the ARView class?
I recently downloaded the same from Creating a Game with SceneUnderstanding, and the out-of-the-box compilation failed, with what appears to be some structural misses in RealityKit.
This is with Xcode 12.4 (12D4e) - and a number of compilation complaints appear to be Objective-C elements not being correctly bridged, or otherwise unavailable to the compiler.
Missing:
ARView.RenderOptions
.session within an ARView instance
SceneUnderstanding from within ARView.Environment
.showSceneUnderstanding from ARView.DebugOptions
Is there something I can/should update to get the scene understanding elements back available from the ARView class?
I found a hint to the answer on twitter - in case someone else comes looking here:
You have to be targeting a device for even compilation to work correctly. Once I connected an iPad and targeted it directly, there wasn't an issue with the compilation. Would be awfully nice to have this as a note/warning in the sample code though
You have to be targeting a device for even compilation to work correctly. Once I connected an iPad and targeted it directly, there wasn't an issue with the compilation. Would be awfully nice to have this as a note/warning in the sample code though