Deficuet.AssetManager 0.0.1-alpha.23

This is a prerelease version of Deficuet.AssetManager.
dotnet add package Deficuet.AssetManager --version 0.0.1-alpha.23
                    
NuGet\Install-Package Deficuet.AssetManager -Version 0.0.1-alpha.23
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Deficuet.AssetManager" Version="0.0.1-alpha.23" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Deficuet.AssetManager" Version="0.0.1-alpha.23" />
                    
Directory.Packages.props
<PackageReference Include="Deficuet.AssetManager" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Deficuet.AssetManager --version 0.0.1-alpha.23
                    
#r "nuget: Deficuet.AssetManager, 0.0.1-alpha.23"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Deficuet.AssetManager@0.0.1-alpha.23
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Deficuet.AssetManager&version=0.0.1-alpha.23&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Deficuet.AssetManager&version=0.0.1-alpha.23&prerelease
                    
Install as a Cake Tool

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.
  • Hash128 is read as 16 raw bytes without a length prefix.
  • MultiDictionary<K, V> is deserialized through its MapPair<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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed