Hot to know if the data layer/cell is new or if post restore will happen on Actor
Hi @sinbad , I resurrect an old post: https://github.com/sinbad/SPUD/issues/53
It would be really useful to know if an actor is in a new cell/data layer, or will the post restore happen(for a loading game, or just reloaded cell/data layer), it is just not possible to know? (with persistent objects it is possible thanks to GetSpudSubsystem(GetWorld())->IsLoadingGame())
can it be done anyway, for example by temporarily saving the GUID (or I don't know what else that remains constant) of the temporary actors in a persistent actor set? (this way it could be distinguished between the first time the cell/data layer is loaded and all the other times)
As we said, We can make a logic that can be executed multiple times, but it would be nice to avoid this if possible.
AFAIK nothing has changed since that previous issue. FYI I'm not really working on SPUD anymore, barring dealing with engine upgrades and community PRs, it kind of is what it is. The world partition support was a community addition as well (I don't use it), so I'm not super familiar with it. So I'm not really sure if there's a way to improve this for WP, sorry, I haven't looked into it.
no problem, thanks anyway!