NotSerializableException when using "end rod" aliases/visual effect
Fusezion opened this issue ยท 4 comments
Skript/Server Version
[02:18:49 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[02:18:49 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[02:18:49 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[02:18:49 INFO]: [Skript] Server Version: git-Paper-430 (MC: 1.20.4)
[02:18:49 INFO]: [Skript] Skript Version: 2.8.4 (skriptlang-github)
[02:18:49 INFO]: [Skript] Installed Skript Addons:
[02:18:49 INFO]: [Skript] - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[02:18:49 INFO]: [Skript] - skript-yaml v1.5
[02:18:49 INFO]: [Skript] - skript-particle v1.2.0 (https://github.com/sovdeeth/skript-particle)
[02:18:49 INFO]: [Skript] - skript-reflect v2.4-dev2 (https://github.com/SkriptLang/skript-reflect)
[02:18:49 INFO]: [Skript] - SkBee v3.4.2 (https://github.com/ShaneBeee/SkBee)
[02:18:49 INFO]: [Skript] Installed dependencies: None
Bug Description
When attempting to set a variable to end rod
on on load
, skript throws a NotSerializableException for visual effect classinfo.
This does not appear to happen when using an effect command.
Expected Behavior
Don't throw me a stack trace when all I want is an end rod
Steps to Reproduce
on load:
set {_test} to end rod
# set {_test::*} to end rod
Errors or Screenshots
stack trace https://gist.github.com/Fusezion/7a28bb28fa43cef5572870032957173d
Other
This error was brought to my attention by a discord user, and testing shows this was created in the 2.8.4 release 2.8.3 and below have no issues
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Can't replicate with same addons.
[22:33:31 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[22:33:31 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[22:33:31 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[22:33:31 INFO]: [Skript] Server Version: git-Paper-483 (MC: 1.20.4)
[22:33:31 INFO]: [Skript] Skript Version: 2.8.4 (skriptlang-github)
[22:33:31 INFO]: [Skript] Installed Skript Addons:
[22:33:31 INFO]: [Skript] - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[22:33:31 INFO]: [Skript] - skript-particle v1.2.0 (https://github.com/sovdeeth/skript-particle)
[22:33:31 INFO]: [Skript] - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
[22:33:31 INFO]: [Skript] - SkBee v3.4.3 (https://github.com/ShaneBeee/SkBee)
[22:33:31 INFO]: [Skript] Installed dependencies: None
Can't replicate with same addons.
Hmm you shouldn't need any addons, as the person who reported this to me stated he had no addons when attempting this and his stacktrace shows it as well.
Message history started here. https://discord.com/channels/135877399391764480/138027100593455104/1228222235848736820
Alright so after testing my step to reproduce was incorrect, using local vars doesn't cause an issue as skript shouldn't check for serializable state using a global var such as {blah}
or {blah::*}
was able to cause this, sorry for confusion I thought when I tried it prior it errored
Duplicate of #4196