UE5.4 Learning Agents can't be use in C++

I created the LearningAgentsManager in C++, but modified MaxAgentNum after inheriting the blueprint, which resulted in the smart addition of an agent

This is always 1

In CreateDefaultSubobject, the component PostInitProperties have been executed, but the value of MaxAgentNum has not been loaded