Build crashes after updating Unity from 2021 to 2022.3.24f1 (945646)

Build crashes in several cases (always in the same cases) after updating Unity from 2021 to 2022.3.24f1, but not in the editor and not as a developer build. No errors in the log files and I have no clue how to fix that. Any recommendations? If someone can help me I am also willing to pay for it.