From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:Unity serialized file" |
|---|
| claim | "Each object entry: path id (int32 below version 14, int64 from 14 after aligning the stream to 4; an int64 id is also used when a pre-14 file's big-id flag, read after the types at versions 7-13, is non-zero), byte start (uint32, int64 from 22; add the data offset to get the file position), byte size uint32, type id int32. Below 16 a uint16 class id follows and the type id is the class id; from 16 the type id indexes the type table. Below 11 a uint16 is-destroyed follows; 11-16 an int16 script type index follows; versions 15 and 16 end the entry with a stripped byte." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Unity serialized file" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "reading the object table after the type table" |
|---|
| effect | "Entry size varies with version; path id is the key used by PPtr references" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "object loop of the SerializedFile constructor, version checks per field" |
|---|
| repo | "https://github.com/Perfare/AssetStudio" |
|---|
| commit | "d158e864b556b5970709c2a52e47944d53aa98a2" |
|---|
| path | "AssetStudio/SerializedFile.cs" |
|---|
| lines | "99-160" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Object info entry per version" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:02:11.479Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T04:50:55.269Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read the object loop in AssetStudio SerializedFile.cs and the SerializedFileFormatVersion enum (11 HasScriptTypeIndex, 14, 15 SupportsStrippedObject, 16 RefactoredClassId, 17, 22): big-id flag read for 7-13, path id widths, byteStart 64-bit from 22, class id below 16, destroyed below 11, script index 11-16, stripped byte at 15 and 16. Reads AssetStudio only." |
|---|
|
|
|---|