You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bindings should generate full without any errors
Proof alexhalo@Legion:~/Work-Repos/blob-arena-contracts$ sozo build --unity Updating git repository https://github.com/dojoengine/dojo Compiling blob_arena v0.7.1 (/home/alexhalo/Work-Repos/blob-arena-contracts/Scarb.toml) Finished dev profile target(s) in 13 seconds thread 'main' panicked at /home/runner/.cargo/git/checkouts/cainome-971a2d0b3a80c185/5c2616c/crates/parser/src/tokens/mod.rs:161:25: Composite blob_arena::stats::TStats::<core::integer::u8> not found in filtered tokens note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
This error was was reproduced in 1.0.1 1.0.4 1.0.5 version of dojo
PS: the v0.7.1 in the naming you can ignore the project is based on dojo version 1.0.1
The text was updated successfully, but these errors were encountered:
alexhaloETH
changed the title
[BUG] --unity command crashes due to "not found in filtered tokens"
[BUG] bindings generation command crashes due to "not found in filtered tokens"
Dec 20, 2024
As an update, I changed the name as I have noticed this happens also for the typescript
Also I have tried 1.0.8 version and the problem still persists
-- Edit, this is the specific way to replicate this error #[derive(Copy, Drop, Serde, PartialEq, IntrospectPacked, Default)]
struct TStats {
strength: T,
vitality: T,
dexterity: T,
luck: T,
}
type UStats = TStats;
When running the command
sozo build --unity
the build process runs fine but the creation of the bindings for the unity game engine seem to error outAlthough not 100% sure, I believe to reproduce this bug you would need a model with a generic type, in our case I believe TStats model can either be a i8 or u8 Link to our repo and where i think the issue generates from
The bindings should generate full without any errors
Proof
alexhalo@Legion:~/Work-Repos/blob-arena-contracts$ sozo build --unity Updating git repository https://github.com/dojoengine/dojo Compiling blob_arena v0.7.1 (/home/alexhalo/Work-Repos/blob-arena-contracts/Scarb.toml) Finished dev profile target(s) in 13 seconds thread 'main' panicked at /home/runner/.cargo/git/checkouts/cainome-971a2d0b3a80c185/5c2616c/crates/parser/src/tokens/mod.rs:161:25: Composite blob_arena::stats::TStats::<core::integer::u8> not found in filtered tokens note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
This error was was reproduced in 1.0.1 1.0.4 1.0.5 version of dojo
PS: the v0.7.1 in the naming you can ignore the project is based on dojo version 1.0.1
The text was updated successfully, but these errors were encountered: