RPG Maker VX Ace "RGSS3 player has stopped working"

I tried to put a credits video in my game, but when it's time for it to play in the game, it crashes and the message "RGSS3 player has stopped working" appears. Any idea of what's causing this?
https://forums.rpgmakerweb.com/index.php?threads/rgss3-has-stopped-working-bug.65022/
Spoiler: video about solving this problem for a Labyrinthine game

And there are about 30 more links regarding this problem out there. Maybe some of them will help.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-vx-ace-rgss3-player-has-stopped-working.103096/