You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NightCrows.zip
NightCorws uasset to json failed,UE Version 5.1
UsmapParser.cs need to modify to read mappings.usmap.
var enumCount = Ar.Read();
var enums = new Dictionary<string, Dictionary<int, string>>((int) enumCount);
for (var i = 0; i < enumCount; i++)
{
var enumName = Ar.ReadName(nameLut)!;
//var enumNamesSize = Ar.Read<byte>();
var enumNamesSize = Ar.Read<UInt16>();
var enumNames = new Dictionary<int, string>(enumNamesSize);
for (var j = 0; j < enumNamesSize; j++)
{
var value = Ar.ReadName(nameLut)!;
enumNames[j] = value;
}
enums.Add(enumName, enumNames);
}
maybe the failed reason is here:
Package.cs:
// We don't support loading script packages, so just return a fallback
if (outerMostImport.ObjectName.Text.StartsWith("/Script/"))
{
return new ResolvedImportObject(import, this);
}
The text was updated successfully, but these errors were encountered:
NightCrows.zip
NightCorws uasset to json failed,UE Version 5.1
UsmapParser.cs need to modify to read mappings.usmap.
var enumCount = Ar.Read();
var enums = new Dictionary<string, Dictionary<int, string>>((int) enumCount);
for (var i = 0; i < enumCount; i++)
{
var enumName = Ar.ReadName(nameLut)!;
maybe the failed reason is here:
Package.cs:
// We don't support loading script packages, so just return a fallback
if (outerMostImport.ObjectName.Text.StartsWith("/Script/"))
{
return new ResolvedImportObject(import, this);
}
The text was updated successfully, but these errors were encountered: