Greetings,
I am utterly stumped by an error the Galv's Layer Graphics MZ plugin is throwing me at the moment and would like to request some assistance. I think my issue is probably something super simple and I'm just not seeing it.
So, in essence, I get the following error when trying to create a layer within an event with the plugin:
Here is a clip of the console related to the error:
Here is the event code I'm running to create the layer:
If anyone could point me in the right direction or knows why this error is being thrown, I would greatly appreciate some info 🙂. I haven't been able to locate anyone else having this issue as of yet and I'm just lost as to why this is happening.
For the record, I have used very similar event sequences to create other layers on other maps and never had this error thrown, so I don't *think* it's a plugin conflict, but I could be wrong?
Thank you in advance,
-Niniann
Edit: Did some more testing and it appears it's not creating a layer that is causing a crash, but actually removing layers.
There's event code earlier in the block that removes a layer via a plugin command. Removing that line of event code stops the crash from occurring.
Edit 2: Alright, I "solved" this one by digging deep through some old posts and finding someone who had a similar enough issue. My current theory is that this error is thrown by Galv Layers MZ whenever you try to call the plugin too many times on one page of an event.
Case in point, I took the exact same event code, plugin commands and all, split it up among multiple pages of an event, and voila! No crash.
I will leave this post open before reporting as solved for a couple days to see if anyone wants to chime in 🙂. I'm not sure at this point I feel totally comfortable calling it truly solved, but I have a functional event.
I am utterly stumped by an error the Galv's Layer Graphics MZ plugin is throwing me at the moment and would like to request some assistance. I think my issue is probably something super simple and I'm just not seeing it.
So, in essence, I get the following error when trying to create a layer within an event with the plugin:
Here is a clip of the console related to the error:
Here is the event code I'm running to create the layer:
If anyone could point me in the right direction or knows why this error is being thrown, I would greatly appreciate some info 🙂. I haven't been able to locate anyone else having this issue as of yet and I'm just lost as to why this is happening.
For the record, I have used very similar event sequences to create other layers on other maps and never had this error thrown, so I don't *think* it's a plugin conflict, but I could be wrong?
Thank you in advance,
-Niniann
Edit: Did some more testing and it appears it's not creating a layer that is causing a crash, but actually removing layers.
There's event code earlier in the block that removes a layer via a plugin command. Removing that line of event code stops the crash from occurring.
Edit 2: Alright, I "solved" this one by digging deep through some old posts and finding someone who had a similar enough issue. My current theory is that this error is thrown by Galv Layers MZ whenever you try to call the plugin too many times on one page of an event.
Case in point, I took the exact same event code, plugin commands and all, split it up among multiple pages of an event, and voila! No crash.
I will leave this post open before reporting as solved for a couple days to see if anyone wants to chime in 🙂. I'm not sure at this point I feel totally comfortable calling it truly solved, but I have a functional event.