New StateTree Classes in C++ break build

This looks to be a bug :bug: in the engine code of 5.2. It works in 5.1 just fine as well as 5.3.

Looks like something was introduced in 5.2 that changed the way the .generated file is being created that was fixed in the 5.3 preview.