The documentation for fileNamed: when loading scenes from .sks files it says:
The name of the file, without a file extension.
The file must be in the app’s main bundle and have a .sks filename extension.
My use on the playground:
if let scene = PlanetsScene(fileNamed: "PlanetsScene")
Is there a workaround for this? Material that runs on the Playground does not seem to have access to the core set of applications. I have embedded my playground in the project workspace and can access all the other classes that I installed publicly, but cannot just upload files .sks.
source
share