Problem with virtual textures / Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 949]

when I run the packaged project it gives an error:

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 949]
Rendering thread exception:
Assertion failed: IsInGameThread() [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 1441]

0x00007ff784e3be88 Aincrad.exe!FlushRenderingCommands()
0x00007ff7865658be Aincrad.exe!FStreamingManagerCollection::AddOrRemoveTextureStreamingManagerIfNeeded()
0x00007ff78655afb2 Aincrad.exe!FStreamingManagerCollection::FStreamingManagerCollection()
0x00007ff786588675 Aincrad.exe!IStreamingManager::Get()
0x00007ff78770f6cc Aincrad.exe!FUploadingVirtualTexture::FUploadingVirtualTexture()
0x00007ff7874efccd Aincrad.exe!FVirtualTexture2DResource::InitRHI()
0x00007ff784e72acb Aincrad.exe!FRenderResource::InitResource()
0x00007ff784e9d843 Aincrad.exe!TGraphTask<TEnqueueUniqueRenderCommandType<FBatchedReleaseResources::Flush'::5’::BatchReleaseCommandName,FBatchedReleaseResources::Flush'::5’::<lambda_1> > >::ExecuteTask()
0x00007ff7809bba87 Aincrad.exe!FNamedTaskThread::ProcessTasksNamedThread()
0x00007ff7809bc07e Aincrad.exe!FNamedTaskThread::ProcessTasksUntilQuit()
0x00007ff784e52d5a Aincrad.exe!RenderingThreadMain()
0x00007ff784e597a9 Aincrad.exe!FRenderingThread::Run()
0x00007ff780f6d0d2 Aincrad.exe!FRunnableThreadWin::Run()
0x00007ff780f60b27 Aincrad.exe!FRunnableThreadWin::GuardedRun()
0x00007ffbb230257d KERNEL32.DLL!UnknownFunction

it all started after I converted most of the textures to virtual ones

Blueprint is used in the project