#How do i configure bevy-inspector-egui to render HashMaps?
18 messages · Page 1 of 1 (latest)
Do you register the types? I'm currently not on my PC, but i don't think i ever had issues with that
yes i register the types and it errors in the inspector..
im talking about compound hashmaps
never ever ever works
What do you mean compound hashmap
Hashmaps in my components/resources reflect and show up fine 👀
look this is the crap i get
im TELLING you guys this is a massive recurring issue for me
#[derive(Component, Default, Serialize, Deserialize, Debug, Clone,Reflect)]
#[reflect(Component)]
pub struct ConditionLayersComp (HashSet<ConditionLayer>) ;
and ConditionLayer is just a regular old enum that impl Reflect so what the hell
Are the keys and values of the map Reflect? Did you register them?
Yes
Condition layers are reflect and registered
Ooo wait i didnt register conditionlayer let me try 🤔
Ok i get the same error even still
Oh I didn't notice it's a set, I saw Hash and assumed it was a map