Post

Replies

Boosts

Views

Activity

Reply to ARKit : Couldn't load AR reference object from URL or AR Resource group
I'm having the same issue. Did you even figure out why the referenceobjects are always nil when trying to load from the ResourceGroup? This is my code to load in the makeUIView() function. let configuration = ARWorldTrackingConfiguration() guard let referenceObjects = ARReferenceObject.referenceObjects(inGroupNamed: "Test", bundle: Bundle.main) else { let ro = ARReferenceObject.referenceObjects(inGroupNamed: "Test", bundle: nil); let ro1 = ARReferenceObject.referenceObjects(inGroupNamed: "Gallery", bundle: .main); fatalError("Resource not found") } I fail the guard statement here and ro and ro1 are set to nil. I have the corresponding assets in the Asset Catalog
Jun ’24