Pawn is not flying via Fly to Location node

Using Unreal Engine 5.0.2 with the latest Cesium Plugin. Using the first sample map with custom geolocations, but the Pawn is not flying.

Error log when using a Fly to Location node

Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000
[2022.06.15-23.09.18:231][832]LogWindows: Error:
[2022.06.15-23.09.18:231][832]LogWindows: Error: [Callstack] 0x00007ffeac68f97d UnrealEditor-CesiumRuntime.dll!AGlobeAwareDefaultPawn::FlyToLocationECEF() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\GlobeAwareDefaultPawn.cpp:100]
[2022.06.15-23.09.18:232][832]LogWindows: Error: [Callstack] 0x00007ffeac69024d UnrealEditor-CesiumRuntime.dll!AGlobeAwareDefaultPawn::FlyToLocationLongitudeLatitudeHeight() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\GlobeAwareDefaultPawn.cpp:223]
[2022.06.15-23.09.18:232][832]LogWindows: Error: [Callstack] 0x00007ffeac69013d UnrealEditor-CesiumRuntime.dll!AGlobeAwareDefaultPawn::FlyToLocationLongitudeLatitudeHeight() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\GlobeAwareDefaultPawn.cpp:237]
[2022.06.15-23.09.18:232][832]LogWindows: Error: [Callstack] 0x00007ffeac6eb86b UnrealEditor-CesiumRuntime.dll!AGlobeAwareDefaultPawn::execFlyToLocationLongitudeLatitudeHeight() [d:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Intermediate\Build\Win64\UnrealEditor\Inc\CesiumRuntime\GlobeAwareDefaultPawn.gen.cpp:38]

Also getting an error when trying to use Denver geolocation about the asset is not enabled, even though I just want to visit the location without loading the Denver assets.

Any geolocation via fly to node fails. Is there something I need to check to enable flying?

Here’s the line that’s crashing:

It’s assuming that there’s a player controller possessing the pawn. Is that not true in your case?

Kevin

Because I am not able to edit the default Cesium Pawn, I created a copy. If I place the copy and assign it to a gamemode for the player character, Cesium for some reason creates another copy and several other default related blueprints.

issue

This is possibly the reason why flying is not working.

Changes made

  • Using my own GameMode
  • Using my own PlayerCharacter
  • Using my own PlayerController

Able to fly with both characters assigned.