Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error on load SCNScene(named: "art.scnassets/NINA-B112.obj") ? #4

Open
esutton opened this issue May 21, 2020 · 2 comments
Open

Comments

@esutton
Copy link

esutton commented May 21, 2020

This works fine on the released version of "u-blox BLE" in the iOS app store.

I can find no file named "art.scnassets/NINA-B112.obj" in resources?

Steps to Reproduce

  1. Start Scan
  2. Select HeartRateServer ( A QT
2020-05-21 16:47:45.095868-0500 U-blox[10013:2030208] 
Fatal error: Unexpectedly found nil while unwrapping an Optional value: 
file Ublox/ViewControllers/OverviewViewController.swift, line 255

let scene = SCNScene(named: "art.scnassets/NINA-B112.obj")!

struct OverviewModel {
    unowned var model: SCNNode
    var sceneWithLights: SCNScene
    var accelerometer = Accelerometer()
    var lastGyroscopeMeasurementTime: UInt32 = 0

    init() {
        let scene = SCNScene(named: "art.scnassets/NINA-B112.obj")!

Is there a file missing from repo?

I would dearly love to use this app to learn how to communicate with my u-blox

Any tips or suggestions?

@esutton
Copy link
Author

esutton commented May 21, 2020

Switching to dev branch got past this exception.

git checkout remotes/origin/development

The master seems to handle dark themes better.

However, I will switch to light for now. :-)

@iAmita
Copy link

iAmita commented Jul 24, 2020

i am also getting Fatal error: Unexpectedly found nil while unwrapping an Optional value:
file Ublox/ViewControllers/OverviewViewController.swift, line 255 .
Seems there is a missing .obj file in project. Please share a fix for it.
any help will be appreciated~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants