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
- Editor and Android Player hangs/freezes when repeatedly Loading/Unloading AssetBundle in Vulkan
- Selecting a Material for HDRP Decal Projector in the Inspector window spams errors in the Console
- Expanded Asset Preview Box moves/hides when creating new Asset in Project window
- Player crashes on Meta Quest with "/apex/com.android/runtime/lib64/bionic/libc.so" when using OpenXR Plugin in a specific project
- The Editor's Help menu still lists an old/retired website - "Unity Forum"
Add comment