Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2017.4.X, 2018.4.X, 2019.1.X, 2019.2.X
Votes
1
Found in
2018.3.0a1
2018.3.9f1
2019.1.0a1
2019.2.0a1
Issue ID
1140186
Regression
Yes
assetBundle.LoadAsset returns null when the .asset bundle file is in the same folder as all its assets
How to reproduce:
1. Open attached project "BugReport.zip" and scene "SampleScene"
2. Enter Play mode
3. Observe Console window
Expected result: _assetBundle.LoadAsset<GameObject>("1000") returns "1000 (UnityEngine.GameObject)" and _assetBundle.LoadAsset<Material>("1000") returns "1000 (UnityEngine.Material)"
Actual result: _assetBundle.LoadAsset<GameObject>("1000") and _assetBundle.LoadAsset<Material>("1000") returns an emtpy string
Reproducible with: 2018.3.11f1, 2019.1.0b9, 2019.2.0a10
Could not test with: 2017.4 due to www errors in the console
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2019.3):
Fix an error that caused assets with identical names to become unloadable if there is a name collision