MassAgentComponent traits not recognized in Parent Entity Config validation

Hi everyone,

I’ve come across an issue where traits added to a MassAgentComponent are not being recognized when validating the dependencies of the Parent Entity Config. Specifically, when I first add the Parent Entity Config to the MassAgentComponent, and then try to add traits required for its dependencies to the MassAgentComponent, the validation fails with an error indicating that the required trait is missing.

I’ve double-checked my code and made sure that the trait is correctly defined, so I’m not sure why it’s not being recognized during validation. I’ve also tried removing and re-adding the MassAgentComponent to the Parent Entity Config, but the same error persists.

Has anyone else experienced this issue? Is there a workaround or fix that I can implement to ensure that the MassAgentComponent traits are properly recognized during validation?

Thanks in advance for your help!