Skip to content

thread 'main' panicked on macOS #10

@ProhorTaim

Description

@ProhorTaim

It won't start on macOS and panics the 'main' thread. Here are the logs:

macos-latest % ./Rusty_Skylines 
[data_path] Found data directory: /Users/prohortaim/Downloads/macos-latest/data
Backend: Metal
4x MSAA supported, using 4x

thread 'main' (110383) panicked at src/renderer/render_core.rs:1241:6:
Device creation failed: RequestDeviceError { inner: Core(UnsupportedFeature(Features { features_wgpu: FeaturesWGPU(TIMESTAMP_QUERY_INSIDE_PASSES), features_webgpu: FeaturesWebGPU(0x0) })) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread 'main' (110383) panicked at library/core/src/panicking.rs:225:5:
panic in a function that cannot unwind
stack backtrace:
   0:        0x1049f16ae - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h06c1b7ecf2151fa6
   1:        0x104a02fc4 - core::fmt::write::h374b36b05eb78b98
   2:        0x1049cbd65 - std::io::Write::write_fmt::hec9a1aa512a82e32
   3:        0x1049d5061 - std::panicking::default_hook::{{closure}}::h385f04f3105d1930
   4:        0x1049d4ec9 - std::panicking::default_hook::h9d3b00cd8935d5a3
   5:        0x1049d5467 - std::panicking::panic_with_hook::h7a222e566868611c
   6:        0x1049d5158 - std::panicking::panic_handler::{{closure}}::hf316b053d61b72f0
   7:        0x1049d15b9 - std::sys::backtrace::__rust_end_short_backtrace::h22f7588977acfca0
   8:        0x1049c2794 - __rustc[9e6a08e89e4b9111]::rust_begin_unwind
   9:        0x104a584ec - core::panicking::panic_nounwind_fmt::h988399a333a55dfa
  10:        0x104a58457 - core::panicking::panic_nounwind::h15b9ada64382dc61
  11:        0x104a585f2 - core::panicking::panic_cannot_unwind::h0e43da94d6ab9b32
  12:        0x1049ad22f - winit::platform_impl::macos::app_state::ApplicationDelegate::app_did_finish_launching::h605fe79da25c220d
  13:     0x7ff8152ff1b6 - <unknown>
  14:     0x7ff81536149c - <unknown>
  15:     0x7ff8153613f7 - <unknown>
  16:     0x7ff8152deb74 - <unknown>
  17:     0x7ff816f36752 - <unknown>
  18:     0x7ff8190c7caa - <unknown>
  19:     0x7ff8190c79d7 - <unknown>
  20:     0x7ff81964102a - <unknown>
  21:     0x7ff819645554 - <unknown>
  22:     0x7ff816e7d790 - <unknown>
  23:     0x7ff8164bebeb - <unknown>
  24:     0x7ff81d210c7e - <unknown>
  25:     0x7ff81d2104e2 - <unknown>
  26:     0x7ff81d209ee7 - <unknown>
  27:     0x7ff822072069 - <unknown>
  28:     0x7ff8190c2967 - <unknown>
  29:     0x7ff819c60d1a - <unknown>
  30:     0x7ff819c607ed - <unknown>
  31:     0x7ff8190b9d04 - <unknown>
  32:        0x10447d11a - Rusty_Skylines::main::hb34296498270e9cd
  33:        0x1044476c6 - std::sys::backtrace::__rust_begin_short_backtrace::h7069687f9012fc82
  34:        0x1044681bc - std::rt::lang_start::{{closure}}::he2ce4f16983728a9
  35:        0x1049cd26b - std::rt::lang_start_internal::h3867f272f8813525
  36:        0x1044939ac - _main
thread caused non-unwinding panic. aborting.
zsh: abort      ./Rusty_Skylines

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions