This took longer than anticipated, as the exception code gave me two to three potential issues. Just to narrow it down, check if there are corrupt files in the OS. You can do this by following this guide: Use the System File Checker tool to repair missing or corrupted system files - Microsoft Support
I can also send you an experimental version of the tool, to rule out any build issues on my side.