dev.xaine.AmongUsPatchAnalyzer
2026.6.5
dotnet add package dev.xaine.AmongUsPatchAnalyzer --version 2026.6.5
NuGet\Install-Package dev.xaine.AmongUsPatchAnalyzer -Version 2026.6.5
<PackageReference Include="dev.xaine.AmongUsPatchAnalyzer" Version="2026.6.5"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="dev.xaine.AmongUsPatchAnalyzer" Version="2026.6.5" />
<PackageReference Include="dev.xaine.AmongUsPatchAnalyzer"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add dev.xaine.AmongUsPatchAnalyzer --version 2026.6.5
#r "nuget: dev.xaine.AmongUsPatchAnalyzer, 2026.6.5"
#:package dev.xaine.AmongUsPatchAnalyzer@2026.6.5
#addin nuget:?package=dev.xaine.AmongUsPatchAnalyzer&version=2026.6.5
#tool nuget:?package=dev.xaine.AmongUsPatchAnalyzer&version=2026.6.5
dev.xaine.AmongUsPatchAnalyzer
A Roslyn analyzer that warns when a Harmony patch targets an Among Us method that IL2CPP stripped or inlined away — on PC, on mobile, or both. The package version is the Among Us version its data covers.
<PackageReference Include="dev.xaine.AmongUsPatchAnalyzer" Version="2026.6.5" PrivateAssets="all" />
Diagnostics
| ID | Severity | Fires when |
|---|---|---|
AU0001 |
Warning | Stripped on both PC and mobile — the patch can never run. |
AU0002 |
Warning | Stripped on the platform you build for. |
AU0003 |
Info | Stripped on the other platform. |
AU0011 |
Warning | Potentially inlined on both PC and mobile. |
AU0012 |
Warning | Potentially inlined on the platform you build for. |
AU0013 |
Info | Potentially inlined on the other platform. |
AU0004 |
Info | Still exists, but inlined into some callers, which bypass the patch. |
stripped is certain — no body, no call sites. inlined is inferred from the binary having fewer call
sites than the reference assembly declares, so the AU001x rules are the ones worth confirming.
Configuration
Which platform counts as "yours" decides whether a one-platform miss is AU0002 or AU0003.
Both treats any single-platform miss as AU0002.
<AmongUsPatchTargetPlatform>Steam</AmongUsPatchTargetPlatform>
# .editorconfig
dotnet_diagnostic.AU0011.severity = suggestion
Not checked
- Runtime-resolved targets —
[HarmonyTargetMethod],[HarmonyTargetMethods],[HarmonyPatchAll]. [HarmonyReversePatch], which still dispatches virtually through the instance.- Constructors and compiler-generated state machines, which the dump does not cover.
- Overloads an attribute's
argumentTypescannot pin down, unless every candidate agrees.
Updating for a new game version
./tools/Update-MethodData.ps1 -Version 2026.8.18
Pulls the PC and mobile method analyses from allofus.dev, rewrites the embedded table, and bumps the
package version to match.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
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 |
|---|---|---|
| 2026.6.5 | 115 | 8/27/2026 |