This looks like a Unity bug, and/or a very unhelpful error message!
In my tests, the build still succeeds and seems to work okay even with the assertion failed, so I'm assuming it's one of those mysterious Unity log messages that is meant more for their internal development. I'd still like to fix it, but need to understand what it means to do that!
Are your builds failing?