Support SerializedFile v26 (Unity 6.7)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia con il codice di analisi dei comandi di serialized-file e il wrapper C# UnityFileSystemApi esistente, quindi esamina le DLL dello snapshot beta di Unity 6.7 per individuare le modifiche indicate all’API e al formato dei file. Ricompila UnityProjects/LeadingEdge con Unity 6.7 per ottenere file di riferimento, aggiungi la copertura per i nuovi dati mantenendo il supporto per i file meno recenti e aggiorna la documentazione e i commenti TypeTree menzionati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Unity 6.6 is v23 of the file format.
At end of alpha Unity 6.7 has reached v26, with several significant changes.
kIndependentTypeTreeVersion = 24, // 6000.7: TypeTree blobs are now versioned by their own TypeTreeFormatVersion instead of this enum; TypeTree format changes no longer bump the serialized file version.
kSerializeReferenceRegistryFirst = 25, // 6000.7: the [SerializeReference] registry is a leading frame in the object's data (v3 table format) instead of a trailing TypeTree-described node. Older readers would misparse the frame bytes as field data, so they must reject the file on version.
kSharedSubtreeSupport = 26, // Shared sub-typetree referencing: the file carries a table of compound subtrees stored once, keyed by content hash, that its types reference
This means the "dump", "analyze" commands will not work with the output from Unity 6.7
Most subcommands of the "serialized-file" will also not work (but the "header" command does work, that can be used to see the serialized file version)
Work includes:
- Updating to new snapshot UnityFileSystemApi dll (windows/mac/linux), e.g. take a snapshot from an official build of Unity 6.7 beta.
- Expose the API changes in UnityFileSystemApi through the C# wrapper
- Change the parsing code used by serialized-file command to reflect the updated file format (but continue to support reading older files)
- Add some reference files for automated tests
- e.g. rebuild the UnityProjects/LeadingEdge project with Unity 6.7)
- ideally add refernce files that demonstrate any new features and add specific tests for how this data is exposed
- Make sure docs / comments are updated to reflect the changes, e.g. any docs about TypeTrees should be revisited, and the serialized reference registry change may also influence the example.
- Update UnityDataTools version and create a release for download (along with other fixes).
- Lingua principale
- C#
- Stelle
- 821
- Fork
- 71
- Merge medio
- 3h 13m
- PR unite (30g)
- 9
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Unity-Technologies/UnityDataTools
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Unity-Technologies/UnityDataTools#116 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
Tutte le issue di Unity-Technologies/UnityDataTools
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
sillsdev/languageforge-lexbox#2665 ·
-
bug documentation frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
azurenoops/spin_agent#975 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SubtitleEdit/subtitleedit#15108 · 1 commento ·