How to properly set Vector Parameter Value?

Try setting the created Dynamic Material instance as the material used by the Mesh (Use Mesh->SetMaterial). This goes right after the last node in your first pic.,

It was supposed to work without this, but lets try everything.