Unity Issue Tracker - AssetDatabase is not ready in InitializeOnLoadMethod nor in OnPostProcessAllAssets when the Library is imported after deleting it
Closed
UUM-13509
AssetDatabase is not ready in InitializeOnLoadMethod nor in OnPostProcessAllAssets when the Library is imported after deleting it
Unity: Asset - Database
Won't Fix
2023.2.X
2023.1.X
2022.3.X
2022.2.X
2022.1.X
2021.3.X
2022.1 has reached end of life so the issue will be fixed in a newer version.
Reproduction steps:
1. Before opening the user’s attached project make sure the Library folder is deleted
2. Open the user’s attached project
3. Observe the Console window
Expected result: All “xyzzy” messages indicate that all resources have been loaded
Actual result: Some “xyzzy” messages indicate that not all resources have been loaded
Reproducible with: 2021.3.9f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a8
Couldn’t test with: 2020.3.39f1 - Errors in packages scripts
Reproducible on: macOS 12.5
Note: Resources only fail to load when the Library folder is not present and reimported on load
Prioritise and Follow this issue
Have a workaround or additional info about this issue?