Debugger Packet too large crash

Godot Version

v4.7.1.stable.official.a13da4feb

Question

Was testing my game and got a crash and the error posted below. The game is very small so far, just code, a few 2D sprites, no sound. It shouldn’t be anywhere near 1.8 gb.

Thanks for any help!

 ERROR: core/io/marshalls.cpp:108 - Condition "strlen < 0 || strlen + pad > len" is true. Returning: ERR_FILE_EOF
  ERROR: Error when trying to decode Variant.
  ERROR: Error when trying to decode Variant.
  ERROR: Error when trying to decode Variant.
  ERROR: Error when trying to decode Variant.
  ERROR: Error when trying to decode Variant.
  ERROR: core/debugger/remote_debugger_peer.cpp:165 - Condition "read != in_pos || err != OK" is true. Continuing.
  ERROR: core/debugger/remote_debugger_peer.cpp:269 - Remote debugger: Packet too large (1835626081 > 8388612 bytes). Disconnecting.

can’t really help you if we don’t have any code to go off of. could you paste in the script you last modified before getting this error?

I doubt that’s the culprit. And it’s a very long script (enemy behavior). I think I tested the game for longer than usual this time and that’s why I saw the error. Could you explain what the error means? Maybe I’ll have an idea which script might be the problem then and I can post that.