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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment