Nannou: wgpu example crash on mac

Created on 18 Mar 2020  路  2Comments  路  Source: nannou-org/nannou

Hey, I have just pulled master and run cargo update.
When I run cargo run --release --example wgpu_teapot I receive this error.

2020-03-18 11:07:51.853 wgpu_teapot[4700:45813] -[MTLIGAccelBuffer addDebugMarker:range:]: unrecognized selector sent to instance 0x7fc828508b70
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:378:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
fatal runtime error: failed to initiate panic, error 5
[1]    4700 abort      cargo run --release --example wgpu_teapot

I am on MacBook Pro (Retina, 13-inch, Mid 2014), OS version 10.11.6

bug platform - macos

Most helpful comment

Just as an update, I was having more or less the same error with wgpu-rs, https://github.com/gfx-rs/wgpu-rs/issues/131, but the current master branch of that repo now works.

All 2 comments

Just as an update, I was having more or less the same error with wgpu-rs, https://github.com/gfx-rs/wgpu-rs/issues/131, but the current master branch of that repo now works.

Now the error is slightly different:
/Library/Caches/com.apple.xbs/Sources/Metal/Metal-56.6.1/Framework/MTLRenderPass.m:117: failed assertion `storeAction is not a valid MTLStoreAction.'

I am on the last master, and I have just run rustup update

I am receiving the same error also for other examples, like cargo run --release --example m_2_3_01

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tpltnt picture tpltnt  路  4Comments

kvark picture kvark  路  3Comments

dimitre picture dimitre  路  3Comments

tpltnt picture tpltnt  路  6Comments

JoshuaBatty picture JoshuaBatty  路  4Comments