#It s also weird because it says ``Error

1 messages · Page 1 of 1 (latest)

vapid fractal
#

Is that the whole log?

It also mentions UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors

brisk vine
#

I can post the entire editor log, but yes, that are all the errors I get pertaining to the build

vapid fractal
#

During a build all the global project settings are packed together (the ones under <project>/ProjectSettings)

Perhaps one of them is corrupt and causing the build pipeline that creates the global asset unioning them is failing

#

You could attempt clearing them and adding them back half at a time to narrow down if one of them is failing you

brisk vine
#

I'll try, but I don't see how that can be when I can sometimes build after re-opening the editor

vapid fractal
#

You can sometimes complete a player build, or sometimes enter playmode but player builds always fail?

brisk vine
#

I can sometimes complete a player build

vapid fractal
#

huh

brisk vine
#

everything in the editor works fine

#

But once it has failed, it will seemingly keep failing until I do some random action, like reopening the editor, deleting library, etc

#

If I then reopen the editor, and immediately build, it will very rarely work

vapid fractal
#

Would be interesting if you clone the ProjectSettings when it works and compare it to when it fails

brisk vine
#

This never happened on 2021.3.8, so I'm guessing it has to do with the update

brisk vine
#

Is that what globalgamemanagers.asset is? Just all of those assets combined?

vapid fractal
#

Quite possibly. This problem would be inside Unity itself (If something on your end isn't trying to manipulating/add settings etc...)

#

That is my understanding from some digging.

brisk vine
vapid fractal
#

I can also see someone in the past has had a similar issue but it was caused by a third-party lib attempting and failing to write out a configuration asset

#

The sometimes nature of your problem is very suspicious. So if nothing stands out from comparing when it works vs fails, the best thing to do would be to Report a Bug and include your project (or subset) so the build pipeline team can take a look as they would be very interested

brisk vine
#

I'll try messing around with the ProjectSettings and seeing if resetting them helps, I'll send a message in this thread if I figure anything out. Thanks for the help

vapid fractal
#

Sounds good.

No problemo, sorry I don't have anything more tangible atm

brisk vine
brisk vine
vapid fractal
#

Awesome!

If you still have the bad files, I'd recommend still logging a bug so the pipeline team at a minimum can improve the error reporting for this

brisk vine
#

Sure thing. This is just a hunch, but maybe this was also related to the pre-splash crash bug that I sometimes had, since I now have a seemingly new version of the splash screen