Comments (5)
You are right, the Bevy sprite example gives the same error, so apparently the issue is on my end. Thank you for looking into it though. I'll close the issue for now and update if applicable.
from bevy_ecs_tilemap.
Can you run this with:
RUST_BACKTRACE=1
?
Also what does your Map::new
look like?
from bevy_ecs_tilemap.
Thank you for your work and your quick reply!
This is the stack backtrace of the unmodified iso.rs example:
stack backtrace:
0: rust_begin_unwind
at /rustc/1.51.0/library/std/src/panicking.rs:493:5
1: core::panicking::panic_fmt
at /rustc/1.51.0/library/core/src/panicking.rs:92:14
2: core::panicking::panic
at /rustc/1.51.0/library/core/src/panicking.rs:50:5
3: spirv_reflect::convert::ffi_to_block_variable
4: <alloc::vec::Vec as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
5: spirv_reflect::convert::ffi_to_block_variable
6: spirv_reflect::convert::ffi_to_descriptor_binding
7: spirv_reflect::convert::ffi_to_descriptor_set
8: <alloc::vec::Vec as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
9: spirv_reflect::ShaderModule::enumerate_descriptor_sets
10: bevy_render::shader::shader_reflect::::from_spirv
11: bevy_render::shader::shader::Shader::reflect_layout
12: core::ops::function::impls::<impl core::ops::function::FnOnce for &mut F>::call_once
13: <alloc::vec::Vec as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
14: bevy_render::renderer::render_resource_context::RenderResourceContext::reflect_pipeline_layout
15: bevy_render::pipeline::pipeline_compiler::PipelineCompiler::compile_pipeline
16: bevy_render::draw::DrawContext::set_pipeline
17: bevy_render::pipeline::render_pipelines::draw_render_pipelines_system
18: <bevy_ecs::system::into_system::FunctionSystem<In,Out,Param,Marker,F> as bevy_ecs::system::system::System>::run_unsafe
19: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
20: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
21: async_task::raw::RawTask<F,T,S>::run
22: async_executor::Executor::try_tick
23: std::thread::local::LocalKey::with
24: <bevy_ecs::schedule::executor_parallel::ParallelExecutor as bevy_ecs::schedule::executor::ParallelSystemExecutor>::run_systems
25: <bevy_ecs::schedule::stage::SystemStage as bevy_ecs::schedule::stage::Stage>::run
26: bevy_ecs::schedule::Schedule::run_once
27: bevy_winit::winit_runner_with::{{closure}}
28: winit::platform_impl::platform::x11::EventLoop::run_return
29: winit::platform_impl::platform::x11::EventLoop::run
30: winit::platform_impl::platform::EventLoop::run
31: winit::event_loop::EventLoop::run
32: bevy_winit::run
33: bevy_winit::winit_runner_with
34: core::ops::function::Fn::call
35: bevy_app::app_builder::AppBuilder::run
36: iso::main
note: Some details are omitted, run with RUST_BACKTRACE=full
for a verbose backtrace.
Segmentation fault
I didn't modify the code of the example, so the lines look like this:
19: let mut map = Map::new(Vec2::new(2.0, 2.0).into(), Vec2::new(8.0, 8.0).into(), Vec2::new(64.0, 64.0), Vec2::new(640.0, 1024.0), 0);
31: let mut map = Map::new(Vec2::new(2.0, 2.0).into(), Vec2::new(8.0, 8.0).into(), Vec2::new(64.0, 64.0), Vec2::new(640.0, 1024.0), z + 1);
I've been tinkering with the code as well, and if I comment out the map.build(); line it runs fine (but obviously not much exciting happens).
from bevy_ecs_tilemap.
Can you run the bevy sprite example? The backtrace indicates that the pipeline reflection is failing which is a little odd and makes me think the spir-v code generated for the shader is somehow different on your machine.. 🤔
from bevy_ecs_tilemap.
Thank you! Hope you can get this resolved!
from bevy_ecs_tilemap.
Related Issues (20)
- AnimatedTile add/remove bug HOT 2
- 0.12 bug: despawn + spawn during state change, without spawning texture, panics
- Wrong tiles placement when images height are superior to tiles height with isometric maps HOT 3
- TileStorage, TilemapSize, TileTextureIndex, TilePos are not Components anymore. HOT 2
- Obscure error in 'basic' example with slight modifications. HOT 3
- Update to Bevy 0.14 HOT 7
- could some one turn this in to an example ?
- Compile error: crate-private type `RenderChunkSize` in public interface HOT 6
- Instead ov `src/map/mod.rs`, it should just be `src/map.rs`. HOT 2
- Bevy 0.13 race condition resulting in tiles not rendering HOT 2
- Auditing examples on main after updating to Bevy 0.13 HOT 2
- Improve Tiled support HOT 3
- how to make a tilemap with atlas? HOT 3
- Does not render anything on my machine HOT 3
- Manage z-index with spritesheet moving character HOT 1
- layers and moving sprites HOT 4
- I have a problem with bevy 0.13
- TilemapPlugin trait bound not satistfied for bevy 0.14.0 HOT 2
- Consider adding another maintainer and cargo owner HOT 4
- webgl2 padding enhancement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy_ecs_tilemap.