Support UTF8 paths in AnimatorStateMachine recovery

This commit is contained in:
ds5678 2025-07-23 13:48:53 -07:00
parent 8d080dd42a
commit f97424c539
3 changed files with 3 additions and 3 deletions

View File

@ -1107,7 +1107,7 @@ internal sealed class AnimatorStateMachineContext
private static string GetReversedFullPath(string parentFullPath, uint fullPathID)
{
return Crc32Algorithm.ReverseAscii(fullPathID, $"{parentFullPath}.EMPTY_");
return Crc32Algorithm.ReverseUTF8(fullPathID, $"{parentFullPath}.EMPTY_");
}
/// <summary>

View File

@ -249,7 +249,7 @@ public sealed class AudioMixerProcessor : IAssetProcessor
{
ExposedAudioParameter exposedParam = mixer.ExposedParameters.AddNew();
exposedParam.Guid.CopyValues(paramGuid);
exposedParam.Name = Crc32Algorithm.ReverseAscii(paramNameCrc);
exposedParam.Name = Crc32Algorithm.Reverse(paramNameCrc);
}
else
{

View File

@ -13,7 +13,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="AssetRipper.Checksum" Version="1.0.0" />
<PackageReference Include="AssetRipper.Checksum" Version="1.1.0" />
<PackageReference Include="AssetRipper.SourceGenerated" Version="1.2.5" />
</ItemGroup>