Infinity Master Bank loading when using plugins in C#

Hello, need help, maybe I am doing smth wrong, but I’ve not found how to do it right.

Okay, I happily used FMOD without plugins with this simple code: FMODaudio

Then I decided to try Resonance Audio: read tutorial, did necessary stuff in Studio, copy-pasted resonanceaudio.dll next to fmod.dll and fmodstudio.dll, and put

fmodSystem.loadPlugin("libs\\resonanceaudio.dll", out var handle)" 

at line 22 so it would look like this: FMODaudioPlugins

In result I have got infinity while(true) loop because

masterBank.getLoadingState(out var loadingState)

returns UNLOADED at every cycle, but

masterBankStrings.getLoadingState(out var stringsState)

returns LOADED .
I have not received any additional errors.

If I remove code, that checks loadingState (basicly whole loop), I get ERR_EVENT_NOTFOUND in

system.getEvent(path, out var description).

I use FMOD 2.01.05 and this is my project: FMOD_Project

Please tell me what I am doing wrong.

Okay, looks like It’s not required to check is banks are loaded or not. So I simplified code:

public static void Initialize()
	CheckResult(Factory.System_Create(out fmodSystem));
	CheckResult(fmodSystem.init(512, INITFLAGS.NORMAL, IntPtr.Zero));
	CheckResult(FMOD.Studio.System.create(out system));
	CheckResult(system.initialize(512, FMOD.Studio.INITFLAGS.NORMAL, FMOD.INITFLAGS.NORMAL, IntPtr.Zero));
    CheckResult(fmodSystem.loadPlugin(@"libs\resonanceaudio.dll", out var pluginHandle));

	cachedEventDescriptions = new Dictionary<string, EventDescription>();
	CheckResult(system.loadBankFile(@"assets\Audio\Desktop\", LOAD_BANK_FLAGS.NORMAL, out var masterBank));
	CheckResult(system.loadBankFile(@"assets\Audio\Desktop\", LOAD_BANK_FLAGS.NORMAL, out var masterBankStrings));

Oh I got it, silly me. We should use coreSystem that was created by FMOD.Studio.System.
So correct code looks like this: FMODcorrect