VX ACE Pixel Perfect Collsion error occure, when moving from one room to another.

I'm having a lot of trouble with Pixel Perfect Collision script from Cidiomar. Basically, when moving from one empty, without any scripts map to another where script is used I get this error:
1691344282025.png

The other scripts I used are not the problem, because I tested it in a new project and the error still occures. But the error doesn't appear if player is spawned in the room already.
Any help?
Can you link the script?
Can you link the script?

Oh, sure thing!
http://himeworks.com/redirect.php?type=demo&name=image_collision_detection

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-pixel-perfect-collsion-error-occure-when-moving-from-one-room-to-another.160083/