There must be something in the crash report. Otherwise you can attach Visual Studio to the process, and if you have downloaded the editor symbols, VS will catch the exception when it crashes and will show you where it crashed, as well as the call stack. You might be able to find something there.
I started the project from Visual Studio Code, I added some breakpoints and nothing. This is why I asked here. Tomorrow I will post some code maybe someone can figure it out. Thankyou!