remodel.writePlaceFile and remodel.writeModelFile do not write Part0 and Part1 properties
fredgig opened this issue · comments
When reading a .rbxmx
or .rbxlx
(xml) file and writing it as a .rbxm
or .rbxl
(binary) file, any WeldConstraint
inside the .rbxmx
or .rbxlx
file will lose their Part0
and Part1
property values.
This is not an issue with other instance types containing Part0
and Part1
properties like NoCollisionConstraint
, but I have not tested many others.
I noticed that exporting xml files from Roblox Studio will use Part0Internal
and Part1Internal
as property names for WeldConstraint's, so it might be related to this issue.
Let me know if you need any more detail.
This issue now makes Remodel partly obsolete for us. It is no longer possible for us to publish our games with remodel.writeExistingPlaceAsset because WeldConstraint's are messed up in the process.
This issue is still happening. I've attached a repro project file below.
Steps to reproduce
From the root of the repro project, run these commands:
-
Run
rojo build default.project.json -o Temp\CurrentBuild.rbxl
-
Open the generated place file. Observe that
Workspace.WeldedModel.A.WeldConstraint
has its ref values (part0
andpart1
) intact.
-
Close the place file, and run
remodel run AddGameVersion.lua
. -
Open the place file. Observe that
Workspace.WeldedModel.A.WeldConstraint
has had its ref values wiped.
This is potentially same issue as rojo-rbx/rojo#458, I just encountered on =0.9.1