Post

Replies

Boosts

Views

Activity

Reply to Unexpected behavior when writing entities and loading realityFiles.
I have the exact same issue. It would be great to get some insight from Apple on this. Errors that I've been getting are: Error Domain=REAssetLoadRequestErrorDomain Code=200 "failed to load '5235212752866472828 CollisionShape (RealityFileAsset)URL/file:///var/mobile/Containers/Data/Application/1EED2404-D7C4-443E-9C28-0F8C23409BE4/Documents/RoutePaths/RoutePath.reality/CollisionShape_1.compiledcollisionshape' (Asset provider load failed: type 'RealityFileAsset' -- RERealityArchive: Failed to open load stream for entry 'assets/CollisionShape_1.compiledcollisionshape'.)" UserInfo={NSLocalizedDescription=failed to load '5235212752866472828 CollisionShape (RealityFileAsset)URL/file:///var/mobile/Containers/Data/Application/1EED2404-D7C4-443E-9C28-0F8C23409BE4/Documents/RoutePaths/RoutePath.reality/CollisionShape_1.compiledcollisionshape' (Asset provider load failed: type 'RealityFileAsset' -- RERealityArchive: Failed to open load stream for entry 'assets/CollisionShape_1.compiledcollisionshape'.)} Asset 5235212752866472828 CollisionShape (RealityFileAsset)URL/file:///var/mobile/Containers/Data/Application/1EED2404-D7C4-443E-9C28-0F8C23409BE4/Documents/RoutePaths/RoutePath.reality/CollisionShape_1.compiledcollisionshape failure: Asset provider load failed: type 'RealityFileAsset' -- RERealityArchive: Failed to open load stream for entry 'assets/CollisionShape_1.compiledcollisionshape'. AssetLoadRequest failed because asset failed to load '5235212752866472828 CollisionShape (RealityFileAsset)URL/file:///var/mobile/Containers/Data/Application/1EED2404-D7C4-443E-9C28-0F8C23409BE4/Documents/RoutePaths/RoutePath.reality/CollisionShape_1.compiledcollisionshape' (Asset provider load failed: type 'RealityFileAsset' -- RERealityArchive: Failed to open load stream for entry 'assets/CollisionShape_1.compiledcollisionshape'.) Failed to set dependencies on asset 13239687683001190247 because NetworkAssetManager does not have an asset entity for that id.
Feb ’26
Reply to SwiftUI - Placing ToolbarItem on .keyboard does not work
This can happen if you're using NavigationStack in your app and you enter a view without using it, for example I was making a form appear in a .sheet{}, and if I did something like this the toolbar wouldn't work on any TextField inside the .sheet: .sheet(isPresented: $showUploadSheet, content: { PhotoUploadView() }) But if I wrapped it in a NavigationStack like this, then it would start working. .sheet(isPresented: $showUploadSheet, content: { NavigationStack { PhotoUploadView() } }) One last thing is that this method does not work if you use a .fullScreenCover{} instead of a .sheet{} I'm not sure why, it would be nice if it did.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25
Reply to Unexpected behavior when writing entities and loading realityFiles.
I have the exact same issue. It would be great to get some insight from Apple on this. Errors that I've been getting are: Error Domain=REAssetLoadRequestErrorDomain Code=200 "failed to load '5235212752866472828 CollisionShape (RealityFileAsset)URL/file:///var/mobile/Containers/Data/Application/1EED2404-D7C4-443E-9C28-0F8C23409BE4/Documents/RoutePaths/RoutePath.reality/CollisionShape_1.compiledcollisionshape' (Asset provider load failed: type 'RealityFileAsset' -- RERealityArchive: Failed to open load stream for entry 'assets/CollisionShape_1.compiledcollisionshape'.)" UserInfo={NSLocalizedDescription=failed to load '5235212752866472828 CollisionShape (RealityFileAsset)URL/file:///var/mobile/Containers/Data/Application/1EED2404-D7C4-443E-9C28-0F8C23409BE4/Documents/RoutePaths/RoutePath.reality/CollisionShape_1.compiledcollisionshape' (Asset provider load failed: type 'RealityFileAsset' -- RERealityArchive: Failed to open load stream for entry 'assets/CollisionShape_1.compiledcollisionshape'.)} Asset 5235212752866472828 CollisionShape (RealityFileAsset)URL/file:///var/mobile/Containers/Data/Application/1EED2404-D7C4-443E-9C28-0F8C23409BE4/Documents/RoutePaths/RoutePath.reality/CollisionShape_1.compiledcollisionshape failure: Asset provider load failed: type 'RealityFileAsset' -- RERealityArchive: Failed to open load stream for entry 'assets/CollisionShape_1.compiledcollisionshape'. AssetLoadRequest failed because asset failed to load '5235212752866472828 CollisionShape (RealityFileAsset)URL/file:///var/mobile/Containers/Data/Application/1EED2404-D7C4-443E-9C28-0F8C23409BE4/Documents/RoutePaths/RoutePath.reality/CollisionShape_1.compiledcollisionshape' (Asset provider load failed: type 'RealityFileAsset' -- RERealityArchive: Failed to open load stream for entry 'assets/CollisionShape_1.compiledcollisionshape'.) Failed to set dependencies on asset 13239687683001190247 because NetworkAssetManager does not have an asset entity for that id.
Replies
Boosts
Views
Activity
Feb ’26
Reply to SwiftUI - Placing ToolbarItem on .keyboard does not work
This can happen if you're using NavigationStack in your app and you enter a view without using it, for example I was making a form appear in a .sheet{}, and if I did something like this the toolbar wouldn't work on any TextField inside the .sheet: .sheet(isPresented: $showUploadSheet, content: { PhotoUploadView() }) But if I wrapped it in a NavigationStack like this, then it would start working. .sheet(isPresented: $showUploadSheet, content: { NavigationStack { PhotoUploadView() } }) One last thing is that this method does not work if you use a .fullScreenCover{} instead of a .sheet{} I'm not sure why, it would be nice if it did.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’25