mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
* fix alignment and missing script types for writing of `SerializedFile` for the `Write` method of `SerializedFile`: - add script types - `objectDataPosition` is aligned to 16 bytes - each object data is aligned to 8 bytes Tested by reading and writing back (replacing) a game's `globalgamemanagers.assets` file (the game has unity version `2022.3.6f1`); with those script types and alignments changes the game won't crash on startup anymore * fix alignment and missing script types for writing of `SerializedFile`