Bug in the technology tree

Age of Empires 2: Definitive Edition
BUILD 40874
Steam / Microsoft Store
Windows 10

There is a minor bug in the technology tree in the game. First of all, the unit-specific civilization discount bonuses don’t show up in the tech tree. For example, Berber knights still cost 60f 75g, Mayan crossbows cost 25w 45g, Portuguese gold bonus doesn’t show up, etc. Instead, what happens is the discount bonuses of the civilization that you played prior to checking the tech tree are accounted for in the tech tree. For example, if I play a game with Portuguese, finish it and check the tech tree, it will show me every unit with -20% gold cost for any civilization.

Hope it gets fixed in the next patch, although it is not a major bug.