Probably UHT bug, while exposing Static Array[Enum::MAX] to BP

Hey, strangely everything is fine in clean project, even now when i removed the include in the old project it works fine. Maybe it had something to do with the cached files or sth but i tried to clean, rebuild, removing files manually and nothing worked until i included the “types” header in “gamesettings” file.