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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 2019.3):
Fix an error that caused assets with identical names to become unloadable if there is a name collision