I'm trying to have a sceneView load a scene but I get the error Value of optional type 'SCNScene?' must be unwrapped to a value of type 'SCNScene' With options of Coalesce using '??' to provide a default when the optional value contains 'nil' or Force-unwrap using '!' to abort execution if the optional value contains 'nil'
override func viewDidLoad() {
super.viewDidLoad()
sceneView.scene = SCNScene(named: "Models.scnassets/CDMTEST1");
VirtualObject.readCoreData()
}
Error message : Value of optional type 'SCNScene?' must be unwrapped to a value of type 'SCNScene' Coalesce using '??' to provide a default when the optional value contains 'nil' Force-unwrap using '!' to abort execution if the optional value contains 'nil'