Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Weird Error with Scene_File




This is a VX scripting problem.

I'm not exactly sure what's causing this, and I can't really seem to consistently recreate it, but occasionally when I try to save my game while test playing, I get that error and the game crashes. Not only does it crash, however, but it also deletes my save file that I was trying to save onto.

Possible conflicting scripts that I have are Dargor's Custom Commands, Large Party, and Advanced Files However, I'm under the impression that it's not the latter script that's causing a problem because I got this error once before I plugged that script in.

I don't know if it would be the Large Party's fault either, as I only had 4 party members at the time, which shouldn't cause any problems.

Any ideas? :\

This is the line in scene_file for reference:

Marshal.dump($game_system, file)
 

Zeriab

Sponsor

The problem is that you have a script which modifies Game_System in a way so a Sprite is included. (This does not have to be a direct reference)
You cannot serialize sprites like you can with other objects. The effect is the error you get.
You can try adding and removing scripts which modifies Game_System to locate the problem.
 
Alright, I'll go ahead and give this a shot, but I feel like this would be something that would happen on a consistent basis instead of just randomly like it's been. I haven't been able to -force- it to happen even when I just sit there and save repeatedly.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top