Deficuet.AssetManager
0.0.1-alpha.23
dotnet add package Deficuet.AssetManager --version 0.0.1-alpha.23
NuGet\Install-Package Deficuet.AssetManager -Version 0.0.1-alpha.23
<PackageReference Include="Deficuet.AssetManager" Version="0.0.1-alpha.23" />
<PackageVersion Include="Deficuet.AssetManager" Version="0.0.1-alpha.23" />
<PackageReference Include="Deficuet.AssetManager" />
paket add Deficuet.AssetManager --version 0.0.1-alpha.23
#r "nuget: Deficuet.AssetManager, 0.0.1-alpha.23"
#:package Deficuet.AssetManager@0.0.1-alpha.23
#addin nuget:?package=Deficuet.AssetManager&version=0.0.1-alpha.23&prerelease
#tool nuget:?package=Deficuet.AssetManager&version=0.0.1-alpha.23&prerelease
Asset Manager
An asset manager for Unity objects. Can be used without Unity environment.
Deserialization
DeserializeManager is the public entry point. It accepts a PolyType
ITypeShapeProvider, caches deserialization controllers per CLR type, and
deserializes a type tree node:
var manager = new DeserializeManager(
UObjectShapeProvider.GeneratedTypeShapeProvider
);
AnimatorController controller = manager.Deserialize<AnimatorController>(
reader,
rootNode
);
Supported behavior:
- Built-in and custom type tree nodes are read from
EndianBinaryReader. - Only rank-1 arrays are supported.
- Primitive arrays and strings use a bulk-read fast path when the element node has no alignment flag.
Hash128is read as 16 raw bytes without a length prefix.MultiDictionary<K, V>is deserialized through itsMapPair<K, V>[]surrogate.- Missing required members throw
DeserializeException; unknown type tree fields are skipped. - Every consumed type tree node checks its alignment flag before returning.
Cpp2IL custom types
Cpp2ILManager owns the single LibCpp2IL runtime used by custom class
generation. It wraps Cpp2IL.Core for inheritance, enum, and custom-attribute
metadata and attaches a non-owning AssetsTools.NET.Cpp2IL.Cpp2IlTempGenerator
for serialization templates:
using var cpp2il = new Cpp2ILManager(
gameAssemblyPath,
metadataPath,
unityVersion
);
Cpp2ILTypeChain chain;
if (!cpp2il.TryBuildCustomTypeChain(
monoBehaviourBaseField,
"Assembly-CSharp",
"My.Game",
"MyBehaviour",
out chain))
{
throw new InvalidOperationException("Unsupported inheritance chain.");
}
Cpp2ILTypeInfo exposes the full template field, own fields, first member
order, type tree, and enum information. Parent templates must be cloned before
appending child fields; the manager never mutates a cached parent.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Deficuet.AssetsTools.NET (>= 3.0.5-alpha.4)
- Deficuet.AssetsTools.NET.Cpp2IL (>= 3.0.4-alpha.2)
- PolyType (>= 2.0.0-rc.4)
- Samboy063.Cpp2IL.Core (>= 2022.1.0-pre-release.21)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.1-alpha.23 | 57 | 11/23/2026 |
| 0.0.1-alpha.22 | 53 | 11/22/2026 |
| 0.0.1-alpha.21 | 55 | 11/22/2026 |
| 0.0.1-alpha.20 | 58 | 11/19/2026 |
| 0.0.1-alpha.19 | 65 | 11/18/2026 |
| 0.0.1-alpha.18 | 58 | 11/17/2026 |
| 0.0.1-alpha.17 | 63 | 11/16/2026 |
| 0.0.1-alpha.16 | 57 | 11/16/2026 |
| 0.0.1-alpha.15 | 51 | 11/16/2026 |
| 0.0.1-alpha.14 | 60 | 11/16/2026 |
| 0.0.1-alpha.13 | 61 | 11/15/2026 |
| 0.0.1-alpha.12 | 63 | 11/15/2026 |
| 0.0.1-alpha.11 | 57 | 11/14/2026 |
| 0.0.1-alpha.10 | 55 | 11/14/2026 |
| 0.0.1-alpha.9 | 63 | 11/14/2026 |
| 0.0.1-alpha.8 | 60 | 11/13/2026 |
| 0.0.1-alpha.7 | 64 | 11/13/2026 |
| 0.0.1-alpha.6 | 52 | 11/13/2026 |
| 0.0.1-alpha.5 | 53 | 11/13/2026 |
| 0.0.1-alpha.4 | 61 | 11/12/2026 |