Closed stowmyy closed 11 months ago
Very weird. Can you run with RUST_BACKTRACE=1
? Also it will only work on the hybrid-raytracing branch with a discrete GPU: git checkout hybrid-raytraing
.
here is the output on the master
branch with RUST_BACKTRACE=1
$ RUST_BACKTRACE=1 cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.60s
Running `target\debug\alex.exe`
2023-12-06T00:26:35.143825Z INFO bevy_winit::system: Creating new window "App" (0v0)
2023-12-06T00:26:36.073069Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 960M", vendor: 4318, device: 5019, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "546.17", backend: Vulkan }
thread 'main' panicked at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.12.0\src\texture\image.rs:514:9:
assertion `left == right` failed: Must not have incomplete pixel data.
left: 4
right: 0
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library\std\src\panicking.rs:595
1: core::panicking::panic_fmt
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library\core\src\panicking.rs:67
2: core::panicking::assert_failed_inner
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library\core\src\panicking.rs:269
3: core::panicking::assert_failed<usize,usize>
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\panicking.rs:229
4: bevy_render::texture::image::Image::new_fill
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.12.0\src\texture\image.rs:514
5: alex::render_pipeline::main_pass::impl$3::from_world
at .\src\render_pipeline\main_pass\mod.rs:251
6: bevy_ecs::world::World::init_resource<alex::render_pipeline::main_pass::FallbackBeamTexture>
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.0\src\world\mod.rs:1053
7: bevy_app::app::App::init_resource<alex::render_pipeline::main_pass::FallbackBeamTexture>
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\app.rs:577
8: alex::render_pipeline::main_pass::impl$0::build
at .\src\render_pipeline\main_pass\mod.rs:24
9: bevy_app::app::impl$5::add_boxed_plugin::closure$0
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\app.rs:638
10: core::ops::function::FnOnce::call_once<bevy_app::app::impl$5::add_boxed_plugin::closure_env$0,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\ops\function.rs:250
11: core::panic::unwind_safe::impl$23::call_once<tuple$<>,bevy_app::app::impl$5::add_boxed_plugin::closure_env$0>
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\panic\unwind_safe.rs:271
12: std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<bevy_app::app::impl$5::add_boxed_plugin::closure_env$0>,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:502
13: bevy_app::app::impl$5::add_boxed_plugin::closure$1
14: std::panicking::try<tuple$<>,core::panic::unwind_safe::AssertUnwindSafe<bevy_app::app::impl$5::add_boxed_plugin::closure_env$0> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:466
15: std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<bevy_app::app::impl$5::add_boxed_plugin::closure_env$0>,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panic.rs:142
16: bevy_app::app::App::add_boxed_plugin
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\app.rs:638
17: bevy_app::plugin::sealed::impl$0::add_to_app<alex::render_pipeline::main_pass::MainPassPlugin>
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\plugin.rs:95
18: bevy_app::app::App::add_plugins<bevy_app::plugin::sealed::PluginMarker,alex::render_pipeline::main_pass::MainPassPlugin>
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\app.rs:737
19: alex::render_pipeline::impl$0::build
at .\src\render_pipeline\mod.rs:26
20: bevy_app::app::impl$5::add_boxed_plugin::closure$0
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\app.rs:638
21: core::ops::function::FnOnce::call_once<bevy_app::app::impl$5::add_boxed_plugin::closure_env$0,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\ops\function.rs:250
22: core::panic::unwind_safe::impl$23::call_once<tuple$<>,bevy_app::app::impl$5::add_boxed_plugin::closure_env$0>
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\panic\unwind_safe.rs:271
23: std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<bevy_app::app::impl$5::add_boxed_plugin::closure_env$0>,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:502
24: bevy_app::app::impl$5::add_boxed_plugin::closure$1
25: std::panicking::try<tuple$<>,core::panic::unwind_safe::AssertUnwindSafe<bevy_app::app::impl$5::add_boxed_plugin::closure_env$0> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:466
26: std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<bevy_app::app::impl$5::add_boxed_plugin::closure_env$0>,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panic.rs:142
27: bevy_app::app::App::add_boxed_plugin
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\app.rs:638
28: bevy_app::plugin::sealed::impl$0::add_to_app<alex::render_pipeline::RenderPlugin>
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\plugin.rs:95
29: bevy_app::plugin::sealed::impl$6::add_to_app<bevy_app::plugin::sealed::PluginGroupMarker,bevy_app::plugin_group::PluginGroupBuilder,bevy_app::plugin::sealed::PluginMarker,alex::render_pipeline::RenderPlugin,bevy_app::plugin::sealed::PluginMarker,alex::cha
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\plugin.rs:121
30: bevy_app::app::App::add_plugins<tuple$<bevy_app::plugin::sealed::PluginsTupleMarker,bevy_app::plugin::sealed::PluginGroupMarker,bevy_app::plugin::sealed::PluginMarker,bevy_app::plugin::sealed::PluginMarker,bevy_app::plugin::sealed::PluginMarker>,tuple$<be
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_app-0.12.0\src\app.rs:737
31: alex::main
at .\src\main.rs:15
32: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\ops\function.rs:250
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
error: process didn't exit successfully: `target\debug\alex.exe` (exit code: 101)
on the hybrid-raytraing
it seems to work (:D) although loading is very slow on my pc. please note raytracing is spelled wrong.
oops, didn't notice the spelling :P. the world loading is very slow and temporary. I'll fix it when I get round to streaming from disk and add a world pre processor.
ooh i spoke too soon. on the hybrid-raytraing
it starts loading them but then has a similar error
$ cargo run
Updating git repository `https://github.com/elodin-sys/bevy_atmosphere`
Downloaded bevy_macro_utils v0.11.3
Downloaded 1 crate (8.7 KB) in 0.54s
Compiling bevy_internal v0.12.0
Compiling bevy_macro_utils v0.11.3
Compiling anyhow v1.0.75
Compiling bevy v0.12.0
Compiling bevy_atmosphere_macros v0.2.1 (https://github.com/elodin-sys/bevy_atmosphere?rev=e469e29#e469e298)
Compiling bevy_egui v0.23.0
Compiling bevy_atmosphere v0.7.0 (https://github.com/elodin-sys/bevy_atmosphere?rev=e469e29#e469e298)
Compiling bevy-inspector-egui v0.21.0
Compiling alex v0.1.0 (C:\Users\stormy\Desktop\alex)
Finished dev [unoptimized + debuginfo] target(s) in 42.04s
Running `target\debug\alex.exe`
2023-12-06T00:28:48.667088Z INFO bevy_winit::system: Creating new window "App" (0v0)
2023-12-06T00:28:49.561804Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 960M", vendor: 4318, device: 5019, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "546.17", backend: Vulkan }
2023-12-06T00:28:51.633970Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.-4.-4.mca
2023-12-06T00:28:51.643531Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.-3.mca
2023-12-06T00:28:51.663824Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.-2.mca
2023-12-06T00:28:51.683709Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.-1.mca
2023-12-06T00:28:55.406925Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.0.mca
2023-12-06T00:29:08.524998Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.1.mca
2023-12-06T00:29:21.821898Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.2.mca
2023-12-06T00:29:31.466998Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.3.mca
2023-12-06T00:29:32.594190Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.-3.-4.mca
2023-12-06T00:29:32.604190Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.-3.mca
2023-12-06T00:29:32.625143Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.-2.mca
2023-12-06T00:29:37.008080Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.-1.mca
2023-12-06T00:29:46.402472Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.0.mca
2023-12-06T00:29:57.021947Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.1.mca
2023-12-06T00:30:02.108837Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.2.mca
2023-12-06T00:30:06.995918Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.3.mca
2023-12-06T00:30:16.124866Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.-2.-4.mca
2023-12-06T00:30:16.135143Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.-3.mca
2023-12-06T00:30:16.156335Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.-2.mca
2023-12-06T00:30:32.530951Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.-1.mca
2023-12-06T00:30:51.460012Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.0.mca
2023-12-06T00:31:13.333071Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.1.mca
2023-12-06T00:31:25.745857Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.2.mca
2023-12-06T00:31:38.758265Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.3.mca
2023-12-06T00:32:02.825403Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.-1.-4.mca
2023-12-06T00:32:02.835049Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.-3.mca
2023-12-06T00:32:02.855477Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.-2.mca
2023-12-06T00:32:28.517714Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.-1.mca
2023-12-06T00:33:21.051078Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.0.mca
2023-12-06T00:33:35.950765Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.1.mca
2023-12-06T00:33:54.815664Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.2.mca
2023-12-06T00:34:06.812581Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.3.mca
2023-12-06T00:34:28.863894Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.0.-4.mca
2023-12-06T00:34:28.874075Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.-3.mca
2023-12-06T00:34:28.893991Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.-2.mca
2023-12-06T00:34:46.732894Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.-1.mca
2023-12-06T00:35:22.014587Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.0.mca
2023-12-06T00:35:33.468325Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.1.mca
2023-12-06T00:35:43.819630Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.2.mca
2023-12-06T00:35:54.646575Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.3.mca
2023-12-06T00:36:28.383307Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.1.-4.mca
2023-12-06T00:36:28.393130Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.-3.mca
2023-12-06T00:36:28.413136Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.-2.mca
2023-12-06T00:36:34.292270Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.-1.mca
2023-12-06T00:36:58.742098Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.0.mca
2023-12-06T00:37:20.782630Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.1.mca
2023-12-06T00:37:33.251034Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.2.mca
2023-12-06T00:37:51.866201Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.3.mca
2023-12-06T00:38:27.948724Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.2.-4.mca
2023-12-06T00:38:27.948801Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.2.-3.mca
2023-12-06T00:38:27.958609Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.-2.mca
2023-12-06T00:38:27.978460Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.-1.mca
2023-12-06T00:38:32.552475Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.0.mca
2023-12-06T00:38:45.278907Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.1.mca
2023-12-06T00:39:01.083531Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.2.mca
2023-12-06T00:39:14.219215Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.3.mca
2023-12-06T00:39:18.533037Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.3.-4.mca
2023-12-06T00:39:18.533114Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.3.-3.mca
2023-12-06T00:39:18.533165Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.3.-2.mca
2023-12-06T00:39:18.542639Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.-1.mca
2023-12-06T00:39:18.563155Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.0.mca
2023-12-06T00:39:18.583749Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.1.mca
2023-12-06T00:39:18.604866Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.2.mca
2023-12-06T00:39:18.625637Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.3.mca
2023-12-06T00:39:18.637762Z INFO alex::render_pipeline::cpu_brickmap: recreating mipmaps for 188177 bricks
thread 'Compute Task Pool (1)' panicked at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.12.0\src\texture\image.rs:514:9:
assertion `left == right` failed: Must not have incomplete pixel data.
left: 4
right: 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `alex::setup`!
2023-12-06T00:42:13.250789Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 10 Home", kernel: "19045", cpu: "Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz", core_count: "4", memory: "15.9 GiB" }
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!
error: process didn't exit successfully: `target\debug\alex.exe` (exit code: 101)
can you run with RUST_BACKTRACE=1
again to see what the problematic texture is? also running with --release will speed up world gen a lot
here is the output on the hybrid-raytraing
branch with RUST_BACKTRACE=1
$ RUST_BACKTRACE=1 cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.60s
Running `target\debug\alex.exe`
2023-12-06T00:45:21.869733Z INFO bevy_winit::system: Creating new window "App" (0v0)
2023-12-06T00:45:22.773458Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 960M", vendor: 4318, device: 5019, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "546.17", backend: Vulkan }
2023-12-06T00:45:24.834834Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.-4.-4.mca
2023-12-06T00:45:24.834917Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.-3.mca
2023-12-06T00:45:24.846332Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.-2.mca
2023-12-06T00:45:24.857541Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.-1.mca
2023-12-06T00:45:28.585609Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.0.mca
2023-12-06T00:45:41.785708Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.1.mca
2023-12-06T00:45:55.208627Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.2.mca
2023-12-06T00:46:04.854617Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-4.3.mca
2023-12-06T00:46:05.973017Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.-3.-4.mca
2023-12-06T00:46:05.973100Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.-3.mca
2023-12-06T00:46:05.984395Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.-2.mca
2023-12-06T00:46:10.289531Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.-1.mca
2023-12-06T00:46:19.377454Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.0.mca
2023-12-06T00:46:29.052739Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.1.mca
2023-12-06T00:46:34.042206Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.2.mca
2023-12-06T00:46:38.839684Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-3.3.mca
2023-12-06T00:46:47.746764Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.-2.-4.mca
2023-12-06T00:46:47.746842Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.-3.mca
2023-12-06T00:46:47.758036Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.-2.mca
2023-12-06T00:47:03.728416Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.-1.mca
2023-12-06T00:47:22.383075Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.0.mca
2023-12-06T00:47:43.760714Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.1.mca
2023-12-06T00:47:55.932057Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.2.mca
2023-12-06T00:48:08.744575Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-2.3.mca
2023-12-06T00:48:32.286051Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.-1.-4.mca
2023-12-06T00:48:32.286132Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.-3.mca
2023-12-06T00:48:32.297347Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.-2.mca
2023-12-06T00:48:57.431916Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.-1.mca
2023-12-06T00:49:49.302103Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.0.mca
2023-12-06T00:50:04.093230Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.1.mca
2023-12-06T00:50:22.829352Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.2.mca
2023-12-06T00:50:34.911895Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.-1.3.mca
2023-12-06T00:50:57.059997Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.0.-4.mca
2023-12-06T00:50:57.060077Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.-3.mca
2023-12-06T00:50:57.071203Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.-2.mca
2023-12-06T00:51:14.863298Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.-1.mca
2023-12-06T00:51:50.007824Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.0.mca
2023-12-06T00:52:01.481177Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.1.mca
2023-12-06T00:52:13.513910Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.2.mca
2023-12-06T00:52:25.778166Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.0.3.mca
2023-12-06T00:53:01.604320Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.1.-4.mca
2023-12-06T00:53:01.604397Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.-3.mca
2023-12-06T00:53:01.615701Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.-2.mca
2023-12-06T00:53:07.494186Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.-1.mca
2023-12-06T00:53:32.672929Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.0.mca
2023-12-06T00:53:54.897890Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.1.mca
2023-12-06T00:54:08.129347Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.2.mca
2023-12-06T00:54:27.062559Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.1.3.mca
2023-12-06T00:55:02.854561Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.2.-4.mca
2023-12-06T00:55:02.854637Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.2.-3.mca
2023-12-06T00:55:02.854693Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.-2.mca
2023-12-06T00:55:02.865943Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.-1.mca
2023-12-06T00:55:07.388674Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.0.mca
2023-12-06T00:55:19.948973Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.1.mca
2023-12-06T00:55:35.539334Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.2.mca
2023-12-06T00:55:48.492598Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.2.3.mca
2023-12-06T00:55:52.766628Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.3.-4.mca
2023-12-06T00:55:52.766703Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.3.-3.mca
2023-12-06T00:55:52.766756Z INFO alex::render_pipeline::load_anvil: skipping region assets/worlds/imperial_city\r.3.-2.mca
2023-12-06T00:55:52.766811Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.-1.mca
2023-12-06T00:55:52.778086Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.0.mca
2023-12-06T00:55:52.789440Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.1.mca
2023-12-06T00:55:52.800682Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.2.mca
2023-12-06T00:55:52.811910Z INFO alex::render_pipeline::load_anvil: loading region assets/worlds/imperial_city\r.3.3.mca
2023-12-06T00:55:52.824114Z INFO alex::render_pipeline::cpu_brickmap: recreating mipmaps for 188177 bricks
thread 'Compute Task Pool (1)' panicked at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.12.0\src\texture\image.rs:514:9:
assertion `left == right` failed: Must not have incomplete pixel data.
left: 4
right: 0
stack backtrace:
2023-12-06T00:58:42.589862Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 10 Home", kernel: "19045", cpu: "Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz", core_count: "4", memory: "15.9 GiB" }
0: std::panicking::begin_panic_handler
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library\std\src\panicking.rs:595
1: core::panicking::panic_fmt
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library\core\src\panicking.rs:67
2: core::panicking::assert_failed_inner
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library\core\src\panicking.rs:269
3: core::panicking::assert_failed<usize,usize>
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\panicking.rs:229
4: bevy_render::texture::image::Image::new_fill
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_render-0.12.0\src\texture\image.rs:514
5: alex::setup
at .\src\main.rs:49
6: core::ops::function::FnMut::call_mut<void (*)(bevy_ecs::system::commands::Commands,bevy_ecs::change_detection::ResMut<bevy_asset::assets::Assets<bevy_render::texture::image::Image> >),tuple$<bevy_ecs::system::commands::Commands,bevy_ecs::change_detection:
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\ops\function.rs:166
7: core::ops::function::impls::impl$3::call_mut<tuple$<bevy_ecs::system::commands::Commands,bevy_ecs::change_detection::ResMut<bevy_asset::assets::Assets<bevy_render::texture::image::Image> > >,void (*)(bevy_ecs::system::commands::Commands,bevy_ecs::change_d
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\ops\function.rs:294
8: bevy_ecs::system::function_system::impl$13::run::call_inner<tuple$<>,bevy_ecs::system::commands::Commands,bevy_ecs::change_detection::ResMut<bevy_asset::assets::Assets<bevy_render::texture::image::Image> >,ref_mut$<void (*)(bevy_ecs::system::commands::Com
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.0\src\system\function_system.rs:642
9: bevy_ecs::system::function_system::impl$13::run<tuple$<>,void (*)(bevy_ecs::system::commands::Commands,bevy_ecs::change_detection::ResMut<bevy_asset::assets::Assets<bevy_render::texture::image::Image> >),bevy_ecs::system::commands::Commands,bevy_ecs::chan
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.0\src\system\function_system.rs:645
10: bevy_ecs::system::function_system::impl$6::run_unsafe<void (*)(bevy_ecs::system::commands::Commands,bevy_ecs::change_detection::ResMut<bevy_asset::assets::Assets<bevy_render::texture::image::Image> >),void (*)(bevy_ecs::system::commands::Commands,bevy_ecs
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.0\src\system\function_system.rs:485
11: bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block$0::closure$0
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.0\src\schedule\executor\multi_threaded.rs:505
12: core::ops::function::FnOnce::call_once<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block$0::closure_env$0,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\ops\function.rs:250
13: core::panic::unwind_safe::impl$23::call_once<tuple$<>,bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block$0::closure_env$0>
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\panic\unwind_safe.rs:271
14: std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block$0::closure_env$0>,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:502
15: bevy_ecs::world::error::impl$1::fmt
16: std::panicking::try<tuple$<>,core::panic::unwind_safe::AssertUnwindSafe<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block$0::closure_env$0> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:466
17: std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block$0::closure_env$0>,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panic.rs:142
18: bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block$0
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.0\src\schedule\executor\multi_threaded.rs:500
19: core::panic::unwind_safe::impl$26::poll<enum2$<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block_env$0> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\panic\unwind_safe.rs:296
20: futures_lite::future::impl$14::poll::closure$0<core::panic::unwind_safe::AssertUnwindSafe<enum2$<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block_env$0> > >
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-lite-1.12.0\src\future.rs:626
21: core::panic::unwind_safe::impl$23::call_once<enum2$<core::task::poll::Poll<tuple$<> > >,futures_lite::future::impl$14::poll::closure_env$0<core::panic::unwind_safe::AssertUnwindSafe<enum2$<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\core\src\panic\unwind_safe.rs:271
22: std::panicking::try::do_call<core::panic::unwind_safe::AssertUnwindSafe<futures_lite::future::impl$14::poll::closure_env$0<core::panic::unwind_safe::AssertUnwindSafe<enum2$<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_blo
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:502
23: bevy_ecs::world::error::impl$1::fmt
24: std::panicking::try<enum2$<core::task::poll::Poll<tuple$<> > >,core::panic::unwind_safe::AssertUnwindSafe<futures_lite::future::impl$14::poll::closure_env$0<core::panic::unwind_safe::AssertUnwindSafe<enum2$<bevy_ecs::schedule::executor::multi_threaded::im
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:466
25: std::panic::catch_unwind<core::panic::unwind_safe::AssertUnwindSafe<futures_lite::future::impl$14::poll::closure_env$0<core::panic::unwind_safe::AssertUnwindSafe<enum2$<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block_e
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panic.rs:142
26: futures_lite::future::impl$14::poll<core::panic::unwind_safe::AssertUnwindSafe<enum2$<bevy_ecs::schedule::executor::multi_threaded::impl$3::spawn_system_task::async_block_env$0> > >
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-lite-1.12.0\src\future.rs:626
27: async_executor::impl$4::spawn::async_block$0<enum2$<core::result::Result<tuple$<>,alloc::boxed::Box<dyn$<core::any::Any,core::marker::Send>,alloc::alloc::Global> > >,futures_lite::future::CatchUnwind<core::panic::unwind_safe::AssertUnwindSafe<enum2$<bevy_
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\async-executor-1.5.0\src\lib.rs:139
28: async_task::raw::RawTask<enum2$<async_executor::impl$4::spawn::async_block_env$0<enum2$<core::result::Result<tuple$<>,alloc::boxed::Box<dyn$<core::any::Any,core::marker::Send>,alloc::alloc::Global> > >,futures_lite::future::CatchUnwind<core::panic::unwind
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\async-task-4.4.0\src\raw.rs:563
29: async_task::runnable::Runnable<tuple$<> >::run<tuple$<> >
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\async-task-4.4.0\src\runnable.rs:782
30: async_executor::impl$4::run::async_fn$0::async_block$0<enum2$<core::result::Result<tuple$<>,async_channel::RecvError> >,futures_lite::future::Or<enum2$<bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure$0::closure$0::async_block_en
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\async-executor-1.5.0\src\lib.rs:230
31: futures_lite::future::impl$12::poll<enum2$<core::result::Result<tuple$<>,async_channel::RecvError> >,futures_lite::future::Or<enum2$<bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure$0::closure$0::async_block_env$0>,async_channel:
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-lite-1.12.0\src\future.rs:529
32: async_executor::impl$4::run::async_fn$0<enum2$<core::result::Result<tuple$<>,async_channel::RecvError> >,futures_lite::future::Or<enum2$<bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure$0::closure$0::async_block_env$0>,async_chan
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\async-executor-1.5.0\src\lib.rs:237
33: futures_lite::future::block_on::closure$0<enum2$<core::result::Result<tuple$<>,async_channel::RecvError> >,enum2$<async_executor::impl$4::run::async_fn_env$0<enum2$<core::result::Result<tuple$<>,async_channel::RecvError> >,futures_lite::future::Or<enum2$<
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-lite-1.12.0\src\future.rs:89
34: std::thread::local::LocalKey<core::cell::RefCell<tuple$<parking::Parker,core::task::wake::Waker> > >::try_with<core::cell::RefCell<tuple$<parking::Parker,core::task::wake::Waker> >,futures_lite::future::block_on::closure_env$0<enum2$<core::result::Result<
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\thread\local.rs:270
35: std::thread::local::LocalKey<core::cell::RefCell<tuple$<parking::Parker,core::task::wake::Waker> > >::with<core::cell::RefCell<tuple$<parking::Parker,core::task::wake::Waker> >,futures_lite::future::block_on::closure_env$0<enum2$<core::result::Result<tupl
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\thread\local.rs:246
36: futures_lite::future::block_on<enum2$<core::result::Result<tuple$<>,async_channel::RecvError> >,enum2$<async_executor::impl$4::run::async_fn_env$0<enum2$<core::result::Result<tuple$<>,async_channel::RecvError> >,futures_lite::future::Or<enum2$<bevy_tasks:
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\futures-lite-1.12.0\src\future.rs:79
37: bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure$0::closure$0
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_tasks-0.12.0\src\task_pool.rs:180
38: std::panicking::try::do_call<bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure$0::closure_env$0,enum2$<core::result::Result<tuple$<>,async_channel::RecvError> > >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:502
39: bevy_tasks::available_parallelism
40: std::panicking::try<enum2$<core::result::Result<tuple$<>,async_channel::RecvError> >,bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure$0::closure_env$0>
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panicking.rs:466
41: std::panic::catch_unwind<bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure$0::closure_env$0,enum2$<core::result::Result<tuple$<>,async_channel::RecvError> > >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\panic.rs:142
42: bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure$0
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_tasks-0.12.0\src\task_pool.rs:174
43: std::thread::local::LocalKey<async_executor::LocalExecutor>::try_with<async_executor::LocalExecutor,bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure_env$0,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\thread\local.rs:270
44: std::thread::local::LocalKey<async_executor::LocalExecutor>::with<async_executor::LocalExecutor,bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0::closure_env$0,tuple$<> >
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33\library\std\src\thread\local.rs:246
45: bevy_tasks::task_pool::impl$2::new_internal::closure$0::closure$0
at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_tasks-0.12.0\src\task_pool.rs:167
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Encountered a panic in system `alex::setup`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!
error: process didn't exit successfully: `target\debug\alex.exe` (exit code: 101)
no idea how that wasn't happening on my computer, it definitely should have. i merged hybrid into main and pushed a fix.
master
works fine now!
a
git clone
followed by acargo run
fails.