I have tried to run a .net core 8 code that worked for me 3 days ago. But now it crashes with error related to access violation

Same code works on another computer

So i tried to look for the cause and figured that my cmd 32 bit crashes with dllhost.exe crashing

It might be after the antivirus update but pausing it did not helped
Maybe installing the core 8 sdk
Was thinking maybe the EDR is blocking, but it did not

How can that be checked, fixed without installing the whole computer?

And what could cause it