I see that the internal error 2003042401 crash that affects lazpaint & castle-game-engine has been raised upstream https://gitlab.com/freepascal.org/fpc/source/-/issues/39877 fixed, but not released yet. Something to do with set comparisons & the NOT operator.