Skip to content

Instantly share code, notes, and snippets.

@fu5ha
Created June 15, 2019 20:21
Show Gist options
  • Save fu5ha/4c18e0194a556a71ccee20c1e7ad4f75 to your computer and use it in GitHub Desktop.
Save fu5ha/4c18e0194a556a71ccee20c1e7ad4f75 to your computer and use it in GitHub Desktop.
Finished dev [unoptimized + debuginfo] target(s) in 2.44s
Running `target\debug\examples\gltf.exe`
[WARN][rendy_factory::factory] Slow safety checks are enabled! Disable them in production by enabling the 'no-slow-safety-checks' feature!
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\src\libcore\slice\mod.rs:2539:10
stack backtrace:
0: std::sys::windows::backtrace::set_frames
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\sys\windows\backtrace\mod.rs:94
1: std::sys::windows::backtrace::unwind_backtrace
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\sys\windows\backtrace\mod.rs:81
2: std::sys_common::backtrace::_print
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\sys_common\backtrace.rs:70
3: std::sys_common::backtrace::print
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\sys_common\backtrace.rs:58
4: std::panicking::default_hook::{{closure}}
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\panicking.rs:200
5: std::panicking::default_hook
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\panicking.rs:215
6: std::panicking::rust_panic_with_hook
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\panicking.rs:478
7: std::panicking::continue_panic_fmt
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\panicking.rs:385
8: std::panicking::rust_begin_panic
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libstd\panicking.rs:312
9: core::panicking::panic_fmt
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libcore\panicking.rs:85
10: core::panicking::panic_bounds_check
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\/src\libcore\panicking.rs:61
11: core::slice::{{impl}}::index<amethyst_rendy::submodules::uniform::PerImageDynamicUniform<gfx_backend_vulkan::Backend, amethyst_rendy::pod::ViewArgs>>
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\src\libcore\slice\mod.rs:2539
12: core::slice::{{impl}}::index<amethyst_rendy::submodules::uniform::PerImageDynamicUniform<gfx_backend_vulkan::Backend, amethyst_rendy::pod::ViewArgs>,usize>
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\src\libcore\slice\mod.rs:2396
13: alloc::vec::{{impl}}::index<amethyst_rendy::submodules::uniform::PerImageDynamicUniform<gfx_backend_vulkan::Backend, amethyst_rendy::pod::ViewArgs>,usize>
at /rustc/6c2484dc3c532c052f159264e970278d8b77cdc9\src\liballoc\vec.rs:1677
14: amethyst_rendy::submodules::uniform::DynamicUniform<gfx_backend_vulkan::Backend, amethyst_rendy::pod::ViewArgs>::bind<gfx_backend_vulkan::Backend,amethyst_rendy::pod::ViewArgs>
at .\amethyst_rendy\src\submodules\uniform.rs:98
15: amethyst_rendy::submodules::flat_environment::FlatEnvironmentSub<gfx_backend_vulkan::Backend>::bind<gfx_backend_vulkan::Backend>
at .\amethyst_rendy\src\submodules\flat_environment.rs:52
16: amethyst_rendy::pass::skybox::{{impl}}::draw_inline<gfx_backend_vulkan::Backend>
at .\amethyst_rendy\src\pass\skybox.rs:171
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment