Error after upgrading from .17 -> .19: 'pred(*previous, *i)'

I get several errors in my console stating:
Assertion failed on expression: 'pred(*previous, *i)'

I get 21 of these in the console, it is not blocking my work.

Possibly linked to this, I have been using the experimental UI Builder with the runtime from the tanks demo repo, and the library selection seems to have broken in this patch as opposed to .17, see image.

Cheers!

I’ve been getting the same error in the same Unity versions. On a mac, using URP. I’m NOT using the UI Builder though.

Still not solved, anyone able to comment?
Windows user also.

Hi! Thanks for posting! it does seem to be 2 different issues here: one is the Error message, which is not linked to the UI Builder: Unity Issue Tracker - "Assertion failed on expression: 'pred(*previous, *i)' " is thrown on additively adding a new scene to a baked scene
And the other is the UI Builder spazzing out: Unity Issue Tracker - [UI Builder] Distorted UI text in UI Builder window Both bugs are filed and are being worked on.

1 Like

@The_Unity_Cat I’m not using UI builder nor am I adding scenes additively and I’m still getting that error. Except i get the error 3 times instead of @Vaspra 's 21.

Just wanted to report that 1.0a20 solves the UI Builder bug, but still have the 'pred(*previous, *i)' error.

I get it every time I start Unity. That an steh possibly related error message about Unity not being able to properly load my layout because windows are supposedly missing (and yet it does load my layout).