I Was reading the class → UEnvQueryGenerator_ActorsOfClass ← that does show statistics. But I don’t see any special code related to statistics. Neither in the declaration nor in the implementation.
My class just overrides the function. void GenerateItems(FEnvQueryInstance& QueryInstance) const;
Because I think I don’t need the other functions. And anyway, they don’t seem to be related to statistics…
What is the minimum I should do for my generator to show statistics?
Thank you so much!!
I think that your query may be invalid in some way.
Try to play the game and look into OutputLog ,LogEQS category. It may show something like this:
In that case I did not set ItemType to anything.
For example, in mentioned ActorsOfClassItemType is set here:
So I think there is some problem with the constructor and with the GENERATED_BODY() macro in generators…
I always had this problem on older versions of the engine… (Only with generators)…
So I don’t think it’s a problem with version 5.5.1. (I think I started using C++ in version 5.2 or 5.3).
Are you sure it’s not an error regarding your constructor script? UEQGLifeBonusGenerator is throwing Object inizalization errors. Did you create the more verbose version of the constructor correctly? Maybe you missed a super call?
in header: