A NotSerializableException is thrown whenever an item is saved to a global variable.
command /err:
trigger:
set {stone} to stone
No errors obviously
None
@APickledWalrus
Hey, does this occur every time you run the command? If so, does it occur with items that have names, enchantments, or etc.?
Yes, everytime the command is run and I also tried with a named item, same error. I haven't tried with enchantments.
Okay, I am going to investigate if this occurs on other versions.
EDIT 1: Reproduced on 1.16.1 Paper-89
EDIT 2: Seems to occur with any ItemType
Can someone confirm whether this issue is present on alpha5?
This issue is not present on alpha5 (1.15.2, paper-379)
I can confirm this issue only with 2.5-alpha6 on Paper 1.15.2.
I believe the cause of this issue has been found, it just needs to be patched.
Going to downgrade this since it doesn't affect the current release. It must be fixed for the next release though.
Marking this as completed and closing.
Im not sure why this was missed but it was fixed in 2.5-beta1
Why exactly was this closed? I know that this specific case is no longer present in the latest release, but the underlying issue with Yggdrasil's serializer is still present.
Most helpful comment
I believe the cause of this issue has been found, it just needs to be patched.