FBX import broken #96076

Closed
opened 2022-02-28 15:47:44 +01:00 by End · 8 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.14802 Core Profile Context 22.1.2 30.0.14023.3004

Blender Version
Broken: version: 2.93.8, branch: master, commit date: 2022-02-01 21:14, hash: blender/blender@09da7f489a
Worked: Hasnt worked on any versions that i have tried (3.0, 2.93 and 2.83)

Short description of error
I try to import the avatar but nothing shows up and i get the location: :-1
This model is being imported from a unity project for a game, so bare with its look please

Exact steps for others to reproduce the error

  1. import this FBX (File>Import>FBX(.FBX)
  2. then you will get the :-1
    Combo.fbx
Python: Traceback (most recent call last):
  File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.2\scripts\addons\io_scene_fbx\__init__.py", line 200, in execute
    if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
  File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.2\scripts\addons\io_scene_fbx\import_fbx.py", line 2611, in load
    _(); del _
  File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.2\scripts\addons\io_scene_fbx\import_fbx.py", line 2610, in _
    fbx_item[1] = blen_read_material(fbx_tmpl, fbx_obj, settings)
  File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.2\scripts\addons\io_scene_fbx\import_fbx.py", line 1437, in blen_read_material
    ma_wrap.roughness = 1.0 - (sqrt(fbx_shininess) / 10.0)
ValueError: math domain error

location: <unknown location>:-1
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Radeon RX 580 Series ATI Technologies Inc. 4.5.14802 Core Profile Context 22.1.2 30.0.14023.3004 **Blender Version** Broken: version: 2.93.8, branch: master, commit date: 2022-02-01 21:14, hash: `blender/blender@09da7f489a` Worked: Hasnt worked on any versions that i have tried (3.0, 2.93 and 2.83) **Short description of error** I try to import the avatar but nothing shows up and i get the location: <unknown location> :-1 This model is being imported from a unity project for a game, so bare with its look please **Exact steps for others to reproduce the error** 1. import this FBX (File>Import>FBX(.FBX) 2. then you will get the <unknown location> :-1 [Combo.fbx](https://archive.blender.org/developer/F12890863/Combo.fbx) ``` Python: Traceback (most recent call last): File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.2\scripts\addons\io_scene_fbx\__init__.py", line 200, in execute if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}: File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.2\scripts\addons\io_scene_fbx\import_fbx.py", line 2611, in load _(); del _ File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.2\scripts\addons\io_scene_fbx\import_fbx.py", line 2610, in _ fbx_item[1] = blen_read_material(fbx_tmpl, fbx_obj, settings) File "C:\Users\Pratik\Desktop\BlenderOSP\2019_lite_ninja\bin\3.2\scripts\addons\io_scene_fbx\import_fbx.py", line 1437, in blen_read_material ma_wrap.roughness = 1.0 - (sqrt(fbx_shininess) / 10.0) ValueError: math domain error location: <unknown location>:-1 ```
Author

Added subscriber: @End

Added subscriber: @End

Added subscriber: @JamesBaber

Added subscriber: @JamesBaber

Removed subscriber: @JamesBaber

Removed subscriber: @JamesBaber
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @mont29

Added subscriber: @mont29

This has invalid (negative) shininess value... will add a safe for such broken cases.

This has invalid (negative) shininess value... will add a safe for such broken cases.

This issue was referenced by 1cf57247c7

This issue was referenced by 1cf57247c7ca13c5dc185baae2201f554f85df50

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Bastien Montagne self-assigned this 2022-03-08 18:04:53 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#96076
No description provided.