Flecs-Rust icon indicating copy to clipboard operation
Flecs-Rust copied to clipboard

Queries with Wildcard or Any result in null pointer dereference

Open chengts95 opened this issue 7 months ago • 0 comments

world.each_entity::<&Any>(|x,_| {
                println!("{:?}",x);
            });

Gives

\index.crates.io-1949cf8c6b5b557f\flecs_ecs-0.1.3\src\core\query_tuple.rs:115:18:
null pointer dereference occurred

Empty types add as tags also cause the same exception.

chengts95 avatar May 12 '25 22:05 chengts95