Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.2.X, 2022.1.X
Votes
0
Found in
2020.3
2021.2
2021.2.7f1
2022.1
2022.2
Issue ID
1393370
Regression
No
Artifact dependency to an asset is not registered when reimporting some assets
Steps to reproduce:
1. Open the "TestScene" Scene in the user attached "AssetDependencyBug.7z" project
2. In the Console window press Clear
3. In the Project window navigate to Assets > Materials > Test-Incorrect
4. Right-click on "Bricks" asset > Reimport
5. Observe the Console window
Expected result: there are no errors but a message whose first line reads "Registered dependency:"
Actual result: there are multiple errors and no message whose first line reads "Registered dependency:"
Reproducible with: 2020.3.27f1, 2021.2.9f1, 2022.1.0b5, 2022.2.0a3
Couldn't test with: 2019.4.35f1 due to compilation errors after downgrading the project
Notes:
- If after the first attempt the issue wasn't reproduced repeat step 3, then Right-click on "Metallic0_Smoothness0.7" asset > Reimport and then repeat the whole process from step 2
- After reproducing the issue, minimizing and then reopening the Editor window resolves the issue, as the dependencies get registered and the reimport finishes
- Expected results could be achieved by altering step 3: In the Project window navigate to Assets > Materials > Test-Correct
- The issue can also be reproduced by altering the "Bricks" asset in an external image editor
- The errors displayed in the console read:
"Assertion failed on expression: 'm_Blacklist.count(artifactKey) == 0'"
"Refresh completed but there are assets queued up for importing. Check for code that modifies assets which gets called after OnPostProcessAllAssets. Additional details in Log file"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "NullReferenceException: Object reference not set to an instance of an object" error is thrown when attempting to remove a binding in the UIBuilder for a UxmlObjectReference
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a7
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b12
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.17f1