Open
Description
When using the very helpful serialization info to catch changes in structs per:
<!-- output memorypack serialization info to directory -->
<ItemGroup>
<CompilerVisibleProperty Include="MemoryPackGenerator_SerializationInfoOutputDirectory" />
</ItemGroup>
<PropertyGroup>
<MemoryPackGenerator_SerializationInfoOutputDirectory>$(MSBuildProjectDirectory)\MemoryPackLogs</MemoryPackGenerator_SerializationInfoOutputDirectory>
</PropertyGroup>
I'm getting strange changes in the text file output like so, with no underlying changes to the structs - GenerateType
is being changed to GanerateType
?

The implementation of this struct is as follows. I am seeing this problem with a few other structs, no issues seen yet with classes. It is making the CI flag changes when there are none.
[MemoryPackable]
public readonly partial struct NodeState(Serialize.NodeType type, Vector3 position, Vector3 size, Identifier ident, int variant, int level, bool levelUpCandidate)
{
public readonly Serialize.NodeType Type = type;
public readonly Vector3 Position = position;
public readonly Vector3 Size = size;
public readonly Identifier Ident = ident;
public readonly int Variant = variant;
public readonly int Level = level;
public readonly bool LevelUpCandidate = levelUpCandidate;
}
Metadata
Metadata
Assignees
Labels
No labels