Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.3.2p3
Issue ID
769858
Regression
Yes
[AssetBundle] Building AssetBundles with variants produces error messages in Editor console
Messages appeared in 5.3.2p1 version.
Building asset bundles with variants produces error messages in Editor console:
Error message 1: "Use IsAssetAvailable before calling AssetFromGUID"
Error message 2: "Variant folder path cannot be empty if we're building a variant AssetBundle."
Bundles seem to be created correctly, however.
Also, errors don't show if you put the asset inside a parent folder with bundle and variant name (see attached repro project).
Repro steps:
a. Open "asset build warnings.zip" project on Unity 5.3.2p1 or newer.
b. Build bundles (Menu Assets -> Build AssetBundles).
c. Observe errors in console.
Workaround:
To stop seeing errors, move "Material A" inside "Materials" folder and delete/build bundles again.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
FXY123
May 16, 2018 08:40
To stop seeing errors, move "Material A" inside "Materials" folder and delete/build bundles again.
这个看不懂,可以详细的描述下吗?