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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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