World Partition project packing error.

Hello, My game is open world and I use World Partition. To prevent important actors from being unloaded, I use the “bIsSpatiallyLoaded” parameter of the actor in the C++ constructor. Everything works, but when packing the project “Shipping” there will be a warning:
error C2065: bIsSpatiallyLoaded: ��������� �����䨪���
Снимок экрана 2025-02-06 202333

I also noticed that the engine marks this variable only for the editor?
Снимок экрана 2025-02-06 202539

How to deal with this situation, is it an editor error?
The same situation in version 5.5.

In general, when setting the parameter, I used the same condition as in the editor, now it allowed me to pack my project without errors.

#if WITH_EDITORONLY_DATA
SetIsSpatiallyLoaded(false);
#endif

Tests in the packed application are also performed correctly. 4 objects were placed with different loading methods (placement on the map and spawn when running the game). Except that when spawning objects, unloading them does not work, but that’s okay.