[Solved] Value of optional type must be unwrapped to a value of type [duplicate]
Try this: if let scene = SCNScene(named: “Models.scnassets/CDMTEST1″){ sceneView.scene = scene } you need to pass a value not a optional since SCNScene(named: “Models.scnassets/CDMTEST1”) is optional since may return nil since it fails. 1 solved Value of optional type must be unwrapped to a value of type [duplicate]