System.BadImageFormatException error

I am using #Unity-2022-3-LTS.19f1 unity version and just created an empty project to test.

And still the build is failing, why?

I thought TutorialInfo coming with URP could be problem, so removed it but still it is not building at all. I even created this blank project at C drive where the OS is located.

What could be the problem?

All I can see is System.BadImageFormatException error but no idea where to look for

Any help will be greatly appreciated. Thanks in advance.

1 Answer

1

Solved it after uninstalling Unity Version 2021. It seems to be the problem.