Skip to content

roblox.serializeModel not saving StyleSheet property in StyleLink instances #357

@devvf

Description

@devvf
        <Properties>
          <string name="Name">StyleLink</string>
          <BinaryString name="AttributesSerialize"></BinaryString>
          <SecurityCapabilities name="Capabilities">0</SecurityCapabilities>
          <bool name="DefinesCapabilities">false</bool>
          <int64 name="SourceAssetId">-1</int64>
          <Ref name="StyleSheet">null</Ref>
          <BinaryString name="Tags"></BinaryString>
        </Properties>
      </Item>

After using the roblox.serializeModel function I get <Ref name="StyleSheet">null</Ref> despite having specified a style sheet in studio. This is frustrating as I have to manually reassign my stylesheets to my ScreenGui instances every time I boot up my workflow.

Image

Here is what the StyleLink instance's properties look like in studio, and below is the StyleSheets which are perfectly serialized by lune as well.

Image

Would love some clarity on this, cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrobloxIssues pertaining to the built-in Roblox library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions