Search Issue Tracker
By Design
Votes
0
Found in
5.0.0b18
Issue ID
658425
Regression
No
[AssetImporter] Undo'ing "AssetImporter.assetBundleName" changes creates a mismatch between the AssetImporter and AssetDatabase
To Reproduce:
1. Open the attached project.
2. Click on kaboom.txt in /Assets/Sounds, notice that Asset Bundle (in the inspector) is set to None.
3. Click BugReport/SetBundleName=myBundle & click print bundle content.
4. Click Edit/Undo 'Change AssetBundle name'.
5. Click on 'kaboom.txt', notice that Asset Bundle is set back to None.
6. Notice that 'BugReport/Print Asset Bundle Content' still prints out that content, because even if the bundle names was changed back GetAssetPathsFromAssetBundle, still returns it's contents.
7. GetAssetPathsFromAssetBundle works as expected if AssetDatabase.RemoveUnusedAssetBundleNames() is called instead of using Undo.RecordObject to change back the importers state.
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
Add comment