Description

If you request a SmartObject slot entrance location and require it to be navigable, it will return a result that does not include the node ref of the nav poly for the entrance to the slot. Instead it returns INVALID_NAVNODEREF.

 

It seems that the NodeRef for the result is never set inside of USmartObjectSubsystem::QueryValidatedSlotEntranceLocationsInternal to be the found location. It always sets NodeRef to be INVALID_NAVNODEREF.

Steps to Reproduce
  1. Open map with valid SmartObjects that have entrance locations setup.
  2. Create a FSmartObjectSlotEntranceLocationRequest
    1. EntryRequest.UserActor = OwnerPawn;
      EntryRequest.SearchLocation = OwnerPawn->GetActorLocation();
      EntryRequest.bUseSlotLocationAsFallback = true;
      EntryRequest.bProjectNavigationLocation = false;
      EntryRequest.bTraceGroundLocation = false;
      EntryRequest.bCheckTransitionTrajectory = false;
      EntryRequest.bCheckEntranceLocationOverlap = false;
  3. Call SmartObjectSubsystem->FindEntranceLocationForSlot
  4. Check that Result.NavNodeRef != 0 with printing or attaching a debugger.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-282841 in the post.

0
Login to Vote

Fixed
ComponentUE - AI - SmartObject
Affects Versions5.55.6
Target Fix5.7
Fix Commit42777144
CreatedMay 17, 2025
ResolvedMay 20, 2025
UpdatedMay 26, 2025
View Jira Issue