diff --git a/RobloxFileFormat.dll b/RobloxFileFormat.dll
index 8a07ee0..9f72207 100644
Binary files a/RobloxFileFormat.dll and b/RobloxFileFormat.dll differ
diff --git a/Tokens/CFrame.cs b/Tokens/CFrame.cs
index 4ec7ac7..2ddf4d8 100644
--- a/Tokens/CFrame.cs
+++ b/Tokens/CFrame.cs
@@ -105,9 +105,7 @@ namespace RobloxFiles.Tokens
public void WriteAttribute(RbxAttribute attribute, CFrame value)
{
Vector3 pos = value.Position;
- attribute.WriteFloat(pos.X);
- attribute.WriteFloat(pos.Y);
- attribute.WriteFloat(pos.Z);
+ Vector3Token.WriteVector3(attribute, pos);
int orientId = value.GetOrientId();
attribute.WriteByte((byte)(orientId + 1));
diff --git a/Tree/Instance.cs b/Tree/Instance.cs
index 3031505..ff40445 100644
--- a/Tree/Instance.cs
+++ b/Tree/Instance.cs
@@ -46,10 +46,10 @@ namespace RobloxFiles
public long SourceAssetId = -1;
/// A unique identifier declared for the history of this instance.
- public UniqueId HistoryId;
+ public UniqueId HistoryId = new UniqueId(0, 0, 0);
/// A unique identifier declared for this instance.
- public UniqueId UniqueId;
+ public UniqueId UniqueId = new UniqueId(0, 0, 0);
/// The name of this Instance, if a Name property is defined.
public override string ToString() => Name;