Search Issue Tracker
[AssetImporter] Undo'ing "AssetImporter.assetBundleName" changes creates a mismatch between the AssetImporter and AssetDatabase
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.
- Editor fails to launch with silent crash in mono on windows
- [GPU PLM] Part of baked shadows are broken when hitting a backface
- [DX12] Nothing is being rendered when using Alt+Enter to maximize a resized windowed player
- GL shader reflection is truncated or crash occurs when struct is used from named CBuffer with at least one other constant
- Having a struct in the global CBuffer makes OpenGLCore and GLES3 targets not report reflection for the CBuffer