Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2022.1
2022.1.0a7
Issue ID
1362489
Regression
No
Resources.Load returns 'False' in OnPostprocessAllAssets when the Asset was externally changed and loaded in [InitializeOnLoad]
How to reproduce:
1. Open "Assets/Resources/SampleAsset.asset" from the "case_1362489" project with a text editor
2. Change the last line(numberField: N) into another number and save
3. Open the project in the Editor
4. Observe the Console log
Expected result: AssetPostprocessor load result returns 'True'
Actual result: AssetPostprocessor load result returns 'False'
Reproducible with: 2019.4.31f1, 2020.3.21f1, 2021.1.26f1, 2021.2.0b16, 2022.1.0a12
Note 1: Commenting [InitializeLoad] in the script results to the Expected result
Note 2: Opening the project after an upgrade/downgrade might result to the Actual result without following the repro steps. In that case, before following them - restart the Editor
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
- Crash on RaiseException when terrain detail instancing is excessive
- Prefab variant reference is lost when assigned by click-and-drag in Prefab Editor mode
- Opening any dropdown in Shader Graph stops the Nodes preview but it still plays in the background
- GPU utilization increases when a GameObject is selected
- Motion Blur has sharp edges when object is moving in the foreground of another object
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a4