Is there a way to figure out what is causing this to happen?

Greetings Xoremus, it’s great to have you here with us.

You error is the following:
“FName’s 1023 max length exceeded. Got 1029 characters excluding null-terminator”

This is possibly due a file name being too long. Or a path that is too long. Some users find deleting the intermediate folder to be a solution and a few others find that moving the project files up a directory or two helps. Here is a forum thread that further discusses all of the solutions and a couple more.

I hope this helps.