Build crashes with: "...resources.assets' is corrupted! Remove it and launch unity again!"

I Updated from 2020.1.16 to 2020.2.1.
When I now create a build and run it, it immediately crashes.
in the player log is the message:

…/resources.assets’ is corrupted! Remove it and launch unity again! [Position out of bounds!]

This happens also if I create the build with another PC. So the file is created “corrupt” during build.

When I downgrade to 2020.1.16 the builds are created correctly.

Can anyone tell me what causes that error?
Is there a way to analyse that file?

I found the cause of the problem in my project

I posted it in the UIToolkit Forum, since it is related to that package:

1 Like