Issue with building for windows after upgrading to unity 6 Stuck at "extracting script serialisation layouts"

Hello forum,

After upgrading my project from unity 2021.3.21f1 to 6000.0.34f1 I have had this issue when building the project. When I try to build the project i get stuck at “extracting script serialisation layouts”. I’ve let it run for around 3 hours and nothing happens there’s also barely any CPU utilization shown in task manager so it does not seem like much is happening. Before the update this project would build in around 3 minutes.

Some context:

It’s a rather large project with lots of assets, custom packages, plugins, custom DLL’s, addressable assets, jobs the whole shabang.

Initially I thought it had something to do with the addressable assets as I initially got a lot of errors in the editor after updating the package from version but now I have temporarily removed it and deleted all references to it and I still get get the same so i can at least conclude it’s not to do with addressable assets.

Things I have tried without success:

  • Reimporting all
  • Deleting library folder
  • Deleting addressables
  • Made and compiled an empty project succesfully
  • checked i have read/write access to the folder

What I’m currently trying:

I made a new empty project and I’m importing my assets one by one. this is quite an arguious process. If i find anything i’ll update this post

Some suspicions I have:

I think it might have something to do with my plugins folder but I’m not quite sure what.

Help and suggestions wanted!

If you guys have any idea what things i could try to troubleshoot then please let me know! If you have had similar issues I’d also be interested to hear.

PS. this is my first time posting i hope i formatted everything clearly and put the correct tags.

EDIT!

I FOUND IT! I ended up making an empty project and transferring the contents of my plugin folder one by one. It ended up being a specific combination of .dll’s