Error messages with ModelEntity.load()

I am loading a USDZ file with the function ModelEntity.load


guard let entity = try? ModelEntity.load(named: usdzFilename) else { return nil }


The function *does* return a model, and I can display it. However, I am seeing a large number of error messages sent to the console when loading the file:


Coding Error: in _SetMetadataImpl at line 1514 of usd/stage.cpp -- Cannot set metadata. 'specifier' is not registered as valid metadata for spec type SdfSpecTypePseudoRoot.

2020-05-21 12:40:37.218637-0700 ExploringWorlds[8324:3951628] [Pipeline] Neither element size > 1 nor attribute count > 1 are supported by 'constant' geometry attribute. Ignoring attribute 'geomNormal'. Element Size '1', Attribute Count: '2393'

2020-05-21 12:40:37.220040-0700 ExploringWorlds[8324:3951628] [Pipeline] Neither element size > 1 nor attribute count > 1 are supported by 'constant' geometry attribute. Ignoring attribute 'geomNormal'. Element Size '1', Attribute Count: '2393'

...


The USDZ file was created from a SceneKit scene that I wrote to file:


unifiedScene.write(to: URL(fileURLWithPath: usdzFilename), delegate: nil)


The usdARKitChecker command gives the USDZ a "Pass"


Any ideas why I am getting these error messages when loading a USDZ file?


Thanks.

The "Coding Error" warning message should be fixed in the iOS 14 and macOS Big Sur developer betas, if you have the opportunity to try.

It would be helpful if you submit feedback for the other two warnings. If you can share, details about the SceneKit code used to construct the scene would be helpful.
Error messages with ModelEntity.load()
 
 
Q