lune-org/lune

Serialized ObjectValue of a Place having Nil Values

Closed this issue · 2 comments

When serializing a place with roblox.serializePlace, any Object value that has a reference to another service or a child within another service would have its value removed/nil. This issue is a problem on both method of serialization, binary & xml.

image

Here is the source code with place samples:
ObjectValueSerializeNil.zip

Upon further investigation, I have found this issue is possible on any other instances such as Effects, Constraints, etc. with Instances as their property that references instances from another service.

Thank you @kennethloeffler for the fix! I have tested your version.

Upon further investigation, I have found this issue is possible on any other instances such as Effects, Constraints, etc. with Instances as their property that references instances from another service.

Yeah, this problem will occur for any Ref property (a reference to some other instance in the dom) that points to a descendant of another service. ObjectValue.Value is just one example of a Ref property, but it works great as a test case, and I greatly appreciated the solid repro in your report here :)