Ah, I fixed it by going into the cover class, and changing the line “runtime/engine/public/genericoctree.h” to “runtime/core/public/math/genericoctree.h”. Compiled correctly now.
I assume the newer engine version changed the location of some of the classes (in this case generic octree)?