It seems to be more related to a regression or change in Xcode 16 beta 5 vs Xcode 15.4 than that. In Xcode 15.4, it works perfectly, regardless of the name of the folder.
When I rename the file and compile in Xcode 16 beta, using either the new format Xcode project or old one, it doesn't appear to be loading correctly.
I've updated the sample project to change the name of the directory, but it doesn't appear to make a difference, and the product built by Xcode 16 still fails to include the resource and present it.
There appear to be perhaps multiple issues at play. After renaming the directory to prairie.skybox for this example - when the older Xcodeproj is built and run from Xcode 16, there's a different error reported - although the resource is correctly embedded:
Unable to load resource: Reality File version 11 is not supported. (Latest supported version is 9.)
It is all working - regardless of the name of the skybox directory - when built and run from Xcode 15.4.
Topic:
Graphics & Games
SubTopic:
RealityKit
Tags: