Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2020.1.a15
Issue ID
1318602
Regression
No
Artifact Dependency not setup when used with LazyLoadReference<>
Artifact Dependency is not registered, when setup when using LazyLoadReference. In the attached project, a ScriptedImporter (for ".test" assets) is setting up an artifact dependency to asset reference that is to Hello.txt. The ScriptedImporter is configured to import before .txt assets and therefore the reference to Hello.txt isn't available during first import. In order to still be able to setup the artifact dependency, a LazyLoadReference to Hello.txt is used.
Repro steps:
1) Open project in attached project 'ArtifactDependencyAndLazyLoadRef.zip'
2) Notice unexpected warning in console "Import of asset 'Assets/World.test' setup artifact dependency to 'Assets/Hello.txt' but dependency isn't used and therefore not registered in the asset database."
3) Change Hello.txt outside unity and give back unity focus.
4) Notice the World asset doesn't get reimported - dependency hasn't be setup.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “ArgumentException: SetData()“ error when making a character with PSDImporter under specific conditions
- Shader warnings are thrown after building High Definition 3D template
- "EndLayoutGroup: BeginLayoutGroup must be called first" error is thrown when changing Shader Precision Model from the Build Profiles window
- White artifacts/outlines are visible in the Garden Scene when viewing at meshes from a distance
- Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
Add comment