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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2019.3):
Fix an error that caused assets with identical names to become unloadable if there is a name collision