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
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
- Light bleeds when using box shaped spotlight with specific Emission Range values
Resolution Note (fix version 2019.3):
Fix an error that caused assets with identical names to become unloadable if there is a name collision