Hello,
I apologize for the delay. You should use TSoftObjectPtr over TLazyObjectPtr. TLazyObjectPtr is on its way to being deprecated at some point (from source code comment in LazyObjectPtr.h):
`/**
- TLazyObjectPtr is the templatized version of the generic FLazyObjectPtr.
- NOTE: This will be deprecated in a future engine version and new features should use TSoftObjectPtr instead.
*/`
Could you provide more details on the issues that you’re running into with using it? Are you checking the object path of the actor from the editor world compared to the path of that same actor created for the PIE world? During the streaming generation for a WP world, the paths get automatically remapped since the actors get embedded into the runtime streaming levels.
FWorldPartitionHelpers has some functions to help with conversions between the two:
- ConvertRuntimePathToEditorPath
- ConvertEditorPathToRuntimePath
Thanks,
Ryan