Skip to content

RoamingActorSubsystem#145

Open
Ingarnm wants to merge 7 commits intosinbad:masterfrom
Ingarnm:WanderingActorTracker
Open

RoamingActorSubsystem#145
Ingarnm wants to merge 7 commits intosinbad:masterfrom
Ingarnm:WanderingActorTracker

Conversation

@Ingarnm
Copy link
Contributor

@Ingarnm Ingarnm commented Mar 10, 2026

I spent some time working on actors that move between WorldPartition cells, tests in my project look fine, but I think more testing is needed. Currently, for the subsystem to start tracking an actor, it must implement a separate interface so that SPUD can distinguish it during the save and restore process, there might be a better way to handle this.

I kept USpudRuntimeStoredActorComponent, right now it only subscribes and unsubscribes its owner to/from subsystem tracking.

@sinbad
Copy link
Owner

sinbad commented Mar 10, 2026

Thanks! Can anyone who uses WP put this through their paces? I'll ping the Discord to see.

@Ingarnm
Copy link
Contributor Author

Ingarnm commented Mar 10, 2026

For those who want to test it, it's better to use console command: RoamingActorSubsystem.DebugDrawCells 1 , WP creates cells automatically, and they may be generated based on actors that don't need WP cells, like a SkySphere or some utility volumes, so this will make them easier to track.

@Ingarnm Ingarnm changed the title Wandering actor tracker RoamingActorSubsystem Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants