I have a generic MeshInstance3D node (let's call it MyNode). When I try:
$MyNode.mesh = Mesh.new()
I get a console error
Required virtual method Mesh::_get_surface_count must be overridden before calling.
Required virtual method Mesh::_get_blend_shape_count must be overridden before calling.
What am I doing wrong?
The issue happens both with and without a loaded mesh resource.