Since vertsion 4 of ggtree, conversion of a plot into plotly using the plotly::ggplotly() function produces a warning:
geom_GeomInteractiveSegment() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues
And the resulting plot is completely blank, no tree segments have been drawn. This happens regardless of the structure of the ggtree object (i.e., even if no interactivitiy has been added, as the warning implies).