Support AVX2 in Juce::Plugin in msvc (Visual Studio 2022)

When in Producer create a GUI or Console project and set /arch:avx2 support in Visual Studio 2022, everything is fine (when disassembling, I see the useing of YMM0 registers…).
But when creating a basic plugin and set /arch:avx2, this is not fine (I see that only XMM0 registers are used).
Are there any limitation for plugins or is there bug somewhere?
PS use Juce ver 7.0.12