scripts failed to read components of mobs
I found a new error post in the new version of Minecraft.
And it was caused by these lines of code:
The error post shows that a mob hitting other entity and its component "equippable" wass undefined(not readable). And actually its component "inventory" was not readable, too. So I suppose mobs' components that contains item stack were not readable.