Yanfly Event Spawner - Event not Triggering

Hey Everyone,

I am spawning an event with Yanfly.SpawnEventInRegion(19, 4, 5, true). It spawns the event just fine and the Lighting and action icon appear but I can't trigger the event at all. I am not getting an errors. I have tried it with multiple plugins off. I can't seem to find an incompatibility.
Capture.PNG



Spoiler: Event Template
Capture.PNG
It looks as if you're standing too far away to trigger the event.
for an event on "same" priority, you need to stand next to it and face it when triggering, but there is an empty grid between your actor sprite and the mushroom sprite.
can you trigger it from the side?
Their isn't anything between the actor and the event. Do you think tileset setting could be blocking it?
The side doesn't work either.
Capture.PNG
because even from the side the actor is not near enough.
look for the distance between the mushroom and the bag above it. THAT is the correct distance for triggering.

and if your actor can't go there, then yes most likely the rock and its parts around it are set to impassible in the tileset.
I found the issue. Incompatibility with OcRam_Passages v4.04. The event is being placed on an unavailable layer.
This issue was fixed by adding: $gameMap._events[$gameMap.LastSpawnedEventID()]._higherLevel = false;


This thread can be closed.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-event-spawner-event-not-triggering.118041/