Search Issue Tracker
By Design
By Design in 2.2.X
Votes
0
Found in [Package]
1.21.21
1.22.2
2.2.2
Issue ID
ADDR-3756
Regression
No
An additional Resource is created when loading an asset of a specific type with a reference to the preloaded resource that was created using a generic type
How to reproduce:
1. Open the “ReproAddresabesProject“ project
2. Open the “SampleScene“
3. Enter the Play Mode
4. Click on the “not over“ button in the Game view
5. Observe the Console window
Expected result: No assertion fail warning “The second load is not using the preloaded asset.“
Actual result: The assertion fail warning “The second load is not using the preloaded asset.“ shown
Reproducible with: 1.21.21 (2021.3.43f1), 1.22.2 (2022.3.45f1), 2.2.2 (6000.0.18f1)
Reproducible on: macOS 14.6.1 (Intel), Windows 10 Pro (22H2)
Not reproducible on: No other environments tested
Notes:
- If the “Addressables.LoadAssetsAsync<UnityEngine.Object>” method is used with a mixed list of “IResourceLocations”, everything works as expected
- More information in the comments
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
This behavior is expected as some assets can be loaded as different types that are not derived from each other - e.g. Sprite & Texture2D
Resolution Note (2.2.X):
This behavior is expected as some assets can be loaded as different types that are not derived from each other - e.g. Sprite & Texture2D