"Error: Object too deep" console error when saving

● ARCHIVED · READ-ONLY
Started by Fernyfer775 5 posts View original ↗
  1. Hello. So, I seem to be getting this error when I go to save a test-play:

    error.png

    error2.png

    Any idea what's going? 

    UPDATE: 

    So, it only seems to be happening on one map. There are no auto-run or parallel events running on it. It's a 46 by 24 sized map. I went and saved on the world map, which is 80x80+ and the world map saves just fine. This is happening even with all plug-ins turned off. I have not touched any of the default JS files either, so I wouldn't even be able to guess what the cause of it is.
  2. Is there a common event set to parallel process that is activated when you're on this map?


    If you search for the error, it has been reported once or twice before, and the consensus seems to be (IIRC) that it's got something to do with parallel process events.
  3. I just went through all my common events, and even each event on the map itself, and none of them are parallel/autorun. :/

    It's literally just that one map too. All the other maps are saving just fine.
  4. I didn't test any of this, but as far as I know json cannot handle objects that refer to themselves.

    Regarding "Parallel Process" this might happen when the event is busy waiting for itself (for example if you used "Set Move Route" for "this event" and the event was waiting for the routes completion when you saved. The same goes for animations and balloons).

    Another possibility was if you removed one of your party members during battle before they could make their turn.

    Unfortunately the stack does not reveal which game object caused the error.

    Could you try to add this as a new plugin and provoke the error once more? It won't help much, but it should reveal the line where the actual error happened instead of the line where the error was printed:

    Code:
    DataManager.saveGame = DataManager.saveGameWithoutRescue;
  5. idk what the hell was going on, but I made a copy of the map with all its events, swapped around the transfer events, and then for whatever reason it decided to work again...  >_>  The bugs in MV are so silly