Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Replicated properties within DEBUG or WITH_EDITORONLY_DATA macros not supported #939

Open
m-samiec opened this issue May 15, 2019 · 0 comments

Comments

@m-samiec
Copy link
Collaborator

Description

The UnrealGDK requires schema to interoperate between the Unreal networking stack and the SpatialOS networking stack. Schema is generated by referencing Unreal's reflected data within the editor. If there are replicated properties within UObjects that get stripped out at runtime (ie. via the WITH_EDITORONLY_DATA macro), then the generated schema won't match the Object's layout at runtime, and instability will occur.

Workaround

Don't add replicated data within preprocessor macros that may be compiled out at runtime.

Tracking issue

UNR-917

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant