UNavigationSystem Why MainNavData is null?

It all boils down to when you access the MainNavData. It gets set lazily, meaning if it’s null when you try to get it (via the GetMainNavData getter) the registered navigation data instances will be traversed and main one will be picked. Try postponing your MainNavData use and see if it helps.

Cheers,

–mieszko