Skip to main content

Troubleshooting

Record Unity/Tuanjie version, OS/CPU, backend, SDK fingerprint, and the first failure. Installation succeeding does not prove runtime tests passed.

SymptomCheck first
Missing Editor pluginComplete matching SDK, generated Assets files/meta, pending restart
SDK hash/source mismatchRebuild/import adapters; do not alter manifests to bypass validation
Read-only Git packageExpected: SDKs go to Library, plugins to Assets
Missing type/memberAssembly/full name, visibility, declared view, alias, stripping
Overload failure/ambiguitySlots, undefined/null, strict numeric range; diagnose with full signature
Editor works, Player failsAOT instantiations, bridges, generated tables, linked SDK
Delegate fails after ResetOld-domain delegates expire; reacquire with GetFunction
XML edits have no effectReinitialize session and regenerate/rebuild; no hot reload
bigint mismatchOnly explicit concrete long/ulong BigInt slots accept it
HostJs source mismatchPrecompile all source variants and rebuild; no name-only fallback
Missing weak-reference APIsUnsupported host capability; no fake strong-reference fallback

Debugger​

Enable before domain initialization, check the port, and connect to 127.0.0.1. For unbound breakpoints check emit/maps and source URLs. Waiting for attach or pausing stops the main thread. See the known macOS Domain Reload shutdown limitation in status.

WeChat test logging​

Localhost logging belongs to validation copies. A missing collector causes requests to fail; it is not a production dependency. Run the complete validation flow or use normal build output. Do not upload test-injected copies.

Report minimal C#/JS repros, target, generation/build steps, the first complete exception, and sanitized logs. Record skips and reasons; do not skip supported interop to hide failures.