Gridmap (Index p_idx = 0 is out of bounds) error when the scene loads in runtime or in editor.

Godot Version

4.3.stable

Question

Getting this error in scenes with gridmaps.

get_bake_mesh_instance: Index p_idx = 0 is out of bounds (baked_meshes.size() = 0).   <C++ Source>   modules/gridmap/grid_map.cpp:1326 @ get_bake_mesh_instance()

I don’t get what is wrong with my gridmap, the gridmap instance has a lot of data so I cannot use/create new one. Let me know if need any more info.