What happend to TargetInfo.Target in 4.19?

,

Thank you so much for the solution. That solves the issue. But, wondering how to check for other build targets besides the editor. Namely, Game, Client, Server, and Program?