Astra Pr2d

Reviewed PR-2d at 5ecad136b1930e7d1aa009c0d72782faafb8cd0e, including installed UE/GMC/NarrativePro source. No files modified or builds run. Supplied gaming_build_pr2d.log reports Succeeded.

The NPC auto-possession ordering finding is closed. No new actionable regression found in PR-2d.

Locations below are relative to Source/NarrativeGMC.

Finding Closure and evidence Severity / confidence Further fix
NPC defaults initialize after auto-possession Closed. Private/Character/NarrativeGMCPawn.cpp:43 initializes defaults before Super::PossessedBy. The guard at :73–76 prevents BeginPlay (:33) from restoring factions removed by possession callbacks. UE Pawn.cpp:143–155 confirms automatic possession occurs during component initialization. Prior Medium; high confidence None required.
Bot PlayerState ownership Remains closed. NarrativeGMCPawn.cpp:47 excludes bots from seeding; :85–90 excludes them from effective ownership. NPCs retain independent pawn state when an AIController with bWantsPlayerState changes pawns. UE PlayerState.cpp:156 establishes bot identity; :416 replicates it initially. No remaining defect; high confidence None for standard AIControllers.
Seeding before possession notifications Remains closed. NarrativeGMCPawn.cpp:49 seeds the human PlayerState before :52 calls Super. UE Pawn.cpp:664 attaches PlayerState before :686–688 dispatches possession notifications. No remaining defect; high confidence None required.
Pawn defaults and Blueprint effective getters Closed as a migration path. NarrativeGMCPawn.cpp:75 appends definition factions to authored pawn factions; :49 seeds their union. Public/Character/NarrativeGMCPawn.h:104–110 exposes effective getters. Existing reflected properties remain intact. Compatibility limitation; high confidence Existing Blueprint reads of local Factions/TeamId still need migration to effective getters when player-owned state is intended.
UnPossessed snapshot Remains closed, including before BeginPlay. NarrativeGMCPawn.cpp:63–64 snapshots before Super clears PlayerState. Initialization already set the guard during possession, so later BeginPlay cannot overwrite the snapshot by reappending defaults. No remaining defect; high confidence None required.

Additional checks:

  • Authority/replication/respawn: initialization remains authority-only; pawn fallback fields and PlayerState fields still replicate. Once-only PlayerState seeding preserves removed factions across ordinary respawn.
  • GameMode: save bootstrap remains reachable. NarrativePro’s spawn override retains RF_Transient; its PlayerDefinitions assignment and character registration still require ANarrativePlayerCharacter, so they continue to skip GMC pawns. This existing integration limitation is unchanged.
  • Synchronous loading: Private/Framework/NarrativeGMCNPCPawn.cpp:26 still performs LoadSynchronous. PR-2d moves that load earlier for auto-possessed NPCs and avoids repeating it at BeginPlay. Game-thread blocking remains possible; async preload with a retained asset is the concrete performance improvement. Hitch severity is unmeasured.
  • Validation limit: static review and supplied compile evidence do not establish runtime Blueprint migration or network-transition behavior.

PASS