Script `Game_Map` line 41: ArgumentError occurred. dump format error for symbol(0x6f)

How to fix the error "Script `Game_Map` line 41: ArgumentError occurred. dump format error for symbol(0x6f)" ?

def setup(map_id)
@map_id = map_id
@map = load_data(sprintf("Data/Map%03d.rvdata2", @map_id)) #line 41
@tileset_id = @map.tileset_id
@display_x = 0
@display_y = 0
referesh_vehicles
setup_events
setup_scroll
setup_parallax
setup_battleback
@need_refresh = false
end
@map = load_data(sprintf("Data/Map%03d.rvdata2", @map_id))
This is just the normal script and it works perfectly on blank projects. It only means that you tried to pass a wrong map id to it. That is something that only you can check though, we cannot see your project.

Original thread: https://forums.rpgmakerweb.com/threads/script-game_map-line-41-argumenterror-occurred-dump-format-error-for-symbol-0x6f.110477/