Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.5.0f3
Issue ID
869628
Regression
Yes
Assertion error when setting avatar information on ModelImporter.sourceAvatar
Steps to reproduce:
1. Download and open the attached project
2 Open window at Window->Humanoid Animation Setting Window.
3. Set a unitychanAvatar in Assets/UnityChan/unitychan at Rig:Avatar Definition.
4. Set a Assets/UnityChan/AvatarMaskAll at Animations:Mask.
5. Select Assets/UnityChan/unitychan_JUMP00 in Project window
6. Click "Set Selected fbx" in Humanoid Animation Setting Window.
Expected result: fbx is set
Actual result: fbx is not set, error is thrown
Assertion failed on expression: '!((transfer.IsReading() || transfer.IsWriting()) && (temp != 0 && temp != 1))'
UnityEditor.AssetImporter:SaveAndReimport()
App.HumanoidAnimationSettingWindow:SetAnimationImporterSettings(ModelImporter) (at Assets/Scripts/Editor/HumanoidAnimationSettingWindow.cs:76)
App.HumanoidAnimationSettingWindow:SetAnimationOptions() (at Assets/Scripts/Editor/HumanoidAnimationSettingWindow.cs:93)
App.HumanoidAnimationSettingWindow:OnGUI() (at Assets/Scripts/Editor/HumanoidAnimationSettingWindow.cs:49)
UnityEditor.DockArea:OnGUI()
Reproduced on: 5.5.0b4, 5.5.0b6, 5.5.0b11, 5.5.0f3, 5.5.0p4, 5.6.0b4
Not reproduced on: 5.4.4f1, 5.5.0b1,5.5.0b2, 5.5.0b3
Notes:
-jumping between versions sometimes makes the issue unreproducible
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment