Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The UnityFileSystemApi library is *not* backward compatible #16

Closed
davidair opened this issue Apr 11, 2024 · 1 comment
Closed

The UnityFileSystemApi library is *not* backward compatible #16

davidair opened this issue Apr 11, 2024 · 1 comment

Comments

@davidair
Copy link

The documentation says the following:

The UnityFileSystemApi library is distributed in the Tools folder of the Unity editor (starting in version 2022.1.0a14). For simplicity, it is also included in this repository. The library is backward compatible, which means that it can read data files generated by any previous version of Unity.

However, it does not seem to be the case. For example, when running UnityDataTool.exe dump on a file built by Unity 2021.3.33f1 using UnityFileSystemApi.dll from Unity 2022.3.22f, it fails to deserialize:

Invalid serialized file version. Expected version: 2022.3.22f1. Actual version: 2021.3.33f1.

Does this mean that UnityFileSystemApi must exactly match the version of Unity? If yes, the documentation should be updated.

@xdegtyarev
Copy link
Collaborator

Updated readme.md with additional step encouraging to copy/replace UnityFileSystemApi from editor installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants