public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Object loses functions after save is loaded

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Object loses functions after save is loaded
  • Original author: LMPGames
  • Original date: June 29, 2018
  • Source thread: https://forums.rpgmakerweb.com/threads/object-loses-functions-after-save-is-loaded.97018/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

Hey everyone, I have an issue that seems strange to me but might just be normal. I am nearly done with this plugin I am working on and I am testing the saving and loading of the object I have created to store data for this plugin into the save file. Everything is working fine, the data is saving to the save file and loading fine as well except for one issue. When I examine the global var in the console, under the Object prototype drop down all of the...

Archived First Post

Hey everyone, I have an issue that seems strange to me but might just be normal. I am nearly done with this plugin I am working on and I am testing the saving and loading of the object I have created to store data for this plugin into the save file. Everything is working fine, the data is saving to the save file and loading fine as well except for one issue.

When I examine the global var in the console, under the Object prototype drop down all of the functions I defined for the object are gone and replaced with generic looking junk. Here is what I mean below with images because I can't figure a way to express the issue properly:

The object functions during a new game:
Protected download



The object functions after a save has been loaded:
Protected download

The end result is when I go to call the function I have set a watch variable for, the game crashes with a $gameBanks.bankExists is not a function error message.

Anyone have any ideas? I have looked at how other such global vars like $gameParty are loaded and saved and I cannot find where there is a different to how I have added in my global var to the rpg_managers.js file. If you need more code like the Game_Banks definition or the stuff I added to rpg_managers please let me know.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

new_game.png
new_game.png
after_load.png
after_load.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar