Manually making animated Parallax / Layers causes the game to crash and say "resolution is null"

When I loaded into a different map, sometimes parallax or layers glitches out when it's manually animated. Even when I put at least 20 frames before triggering the animation.

◆Wait:20 frames
◆Loop
◆Wait:7 frames
◆Change Parallax:Super Mario World/cave1 (Loop Horizontally, Loop Vertically)
◆Wait:7 frames
◆Change Parallax:Super Mario World/cave2 (Loop Horizontally, Loop Vertically)
◆Wait:7 frames
◆Change Parallax:Super Mario World/cave3 (Loop Horizontally, Loop Vertically)
◆Wait:7 frames
◆Change Parallax:Super Mario World/cave4 (Loop Horizontally, Loop Vertically)
◆
:Repeat Above


◆Plugin Command:GALV_LayerGraphicsMZ, Create Layer
: :Map ID = 0
: :Layer ID = 0
: :Graphic = animated backgrounds/cave1
: :X Speed = 0
: :Y Speed = 0
: :Opacity = 255
: :Z Level = -1
: :X Shift = -21
: :Y Shift = -21
: :Blend Mode = 0
◆Plugin Command:GALV_LayerGraphicsMZ, Refresh Layer
◆Wait:7 frames
◆Plugin Command:GALV_LayerGraphicsMZ, Create Layer
: :Map ID = 0
: :Layer ID = 0
: :Graphic = animated backgrounds/cave2
: :X Speed = 0
: :Y Speed = 0
: :Opacity = 255
: :Z Level = -1
: :X Shift = -21
: :Y Shift = -21
: :Blend Mode = 0
◆Plugin Command:GALV_LayerGraphicsMZ, Refresh Layer
◆Wait:7 frames
◆Plugin Command:GALV_LayerGraphicsMZ, Create Layer
: :Map ID = 0
: :Layer ID = 0
: :Graphic = animated backgrounds/cave3
: :X Speed = 0
: :Y Speed = 0
: :Opacity = 255
: :Z Level = -1
: :X Shift = -21
: :Y Shift = -21
: :Blend Mode = 0
◆Plugin Command:GALV_LayerGraphicsMZ, Refresh Layer
◆Wait:7 frames
◆Plugin Command:GALV_LayerGraphicsMZ, Create Layer
: :Map ID = 0
: :Layer ID = 0
: :Graphic = animated backgrounds/cave4
: :X Speed = 0
: :Y Speed = 0
: :Opacity = 255
: :Z Level = -1
: :X Shift = -21
: :Y Shift = -21
: :Blend Mode = 0
◆Plugin Command:GALV_LayerGraphicsMZ, Refresh Layer
◆Wait:7 frames

Did anyone has the same problem like me when the script it set like this?
When you're asking for help with a crash and error, you need to press F8, go to the Console tab, and post a screenshot of the full error trace.

Also, please provide links to any plugins involved.
You seem to have spaces in foldernames, that can always cause problems on loading.
please rename with _ and replace all those references.

for more we would need the error trace mentioned above - and full screenshots of the events might also be helpful, especially for the first because that looks like a bad use of the loop command
When you're asking for help with a crash and error, you need to press F8, go to the Console tab, and post a screenshot of the full error trace.

Also, please provide links to any plugins involved.


1715868729995.png


....And I don't even know how to use a console and it also pop-ups after the error.
I can't find any errors from console and shows me event index.
You seem to have spaces in foldernames, that can always cause problems on loading.
please rename with _ and replace all those references.

for more we would need the error trace mentioned above - and full screenshots of the events might also be helpful, especially for the first because that looks like a bad use of the loop command
Yeah I'll try that and see if it works.
....And I don't even know how to use a console
All you have to do is follow the instructions I typed for you. That is not the Console tab, it's the Sources tab.
All you have to do is follow the instructions I typed for you. That is not the Console tab, it's the Sources tab.
oh okay.

Original thread: https://forums.rpgmakerweb.com/threads/manually-making-animated-parallax-layers-causes-the-game-to-crash-and-say-resolution-is-null.168738/