Attributes set on DataModel in studio do not persist into game sessions

When setting an attribute on the DataModel, the attribute will be nil when testing the game, or playing the game from the website.

Expected behavior

I would expect that any attributes set on the DataModel would persist into game sessions.

Thanks for the report! We’ll follow up when we have an update for you.

1 Like

Are you setting an attribute on the DataModel itself? If so, we don’t serialize the DataModel which is why attributes aren’t persisted.

As a workaround you can set attributes on workspace instead :smiley:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.