blender stopped importing shader

Post Reply
User avatar
xXCARL1992Xx
Posts: 13308
Joined: 17 Aug 2016 12:18
Contact:

blender stopped importing shader

#1 Post by xXCARL1992Xx » 01 Jan 2020 22:51

for whatever reason blender tools stopped importing shader, just this morning everything worked fine but now i get an error on every import

i already reinstalled blender, blender tools and converterPIXwrapper but the error is still there

here is the log

Code: Select all

INFO	-  Initialization of SCS scene, BT version: 2.0.c95d7ac
INFO	-  Paths initialization started...
WARNING	-  Invalid SII file path 'E:/ETS 2/00_SCS_Base/material/material.db'!
INFO	-  Paths initialization finished, timer unregistered!
INFO	-  Importing PIP ...

INFO	-  No PIP file.
INFO	-  Importing PIM ...
INFO	-  Reading data from PIM file...
INFO	-  Assembling data...

INFO	-  ------ Creating materials: ------
INFO	-  Created material 'mat_0000'...
INFO	-  Created material 'mat_0001_nuts'...
INFO	-  Created material 'mat_0002_nuts'...
INFO	-  Created material 'mat_0003_decals'...
INFO	-  Created material 'mat_0004_chassis'...
INFO	-  Created material 'mat_0005_chassis'...
INFO	-  Created material 'mat_0006'...
INFO	-  Created material 'mat_0007_body'...
INFO	-  Created material 'mat_0008_chassis'...
INFO	-  ---------------------------------

INFO	-  ------ Creating mesh objects: -------
INFO	-  Created object 'piece_0' (0/14)...
INFO	-  Created object 'piece_1' (1/14)...
INFO	-  Created object 'piece_2' (2/14)...
INFO	-  Created object 'piece_3' (3/14)...
INFO	-  Created object 'piece_4' (4/14)...
INFO	-  Created object 'piece_5' (5/14)...
INFO	-  Created object 'piece_6' (6/14)...
INFO	-  Created object 'piece_7' (7/14)...
INFO	-  Created object 'piece_8' (8/14)...
INFO	-  Created object 'piece_9' (9/14)...
INFO	-  Created object 'piece_10' (10/14)...
INFO	-  Created object 'piece_11' (11/14)...
INFO	-  Created object 'piece_12' (12/14)...
INFO	-  Created object 'piece_13' (13/14)...
INFO	-  -------------------------------------

INFO	-  ------ Creating model locators: ------
INFO	-  Created locator 'chs_f_l'...
INFO	-  Created locator 'chs_r_r'...
INFO	-  Created locator 'markers'...
INFO	-  Created locator 'chs_f_r'...
INFO	-  Created locator 'skid_wh0'...
INFO	-  Created locator 'skid_wh1'...
INFO	-  Created locator 'lic'...
INFO	-  Created locator 'wheel_r_1'...
INFO	-  Created locator 'chs_r_l'...
INFO	-  Created locator 'r_mudflap'...
INFO	-  Created locator 'shadow_x_ori'...
INFO	-  Created locator 'r_bumper'...
INFO	-  Created locator 'body'...
INFO	-  Created locator 'wheel_r_4'...
INFO	-  Created locator 'wheel_r_2'...
INFO	-  Created locator 'wheel_r_0'...
INFO	-  Created locator 'wheel_r_5'...
INFO	-  Created locator 'wheel_r_3'...
INFO	-  Created locator 'shadow_x_crn'...
INFO	-  Created locator 'hook'...
INFO	-  --------------------------------------
INFO	-  Importing PIT ...
INFO	-  Importing PIC ...
INFO	-  Adding a Locator: "cl2"
INFO	-  Adding a Locator: "adv_cpling"
INFO	-  Setup of SCS game object ...
ERROR	-  Texture 'E:\\ETS 2\\00_SCS_Base\\material/environment/vehicle_reflection.dds' used in TOBJ doesn't exists.
ERROR	-  TOBJ file: 'E:\\ETS 2\\00_SCS_Base\\material\\environment\\vehicle_reflection.tobj' settings reading aborted, check printings above.
ERROR	-  Unexpected 'TypeError' accured during import:
		   Traceback (most recent call last):
		     File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\__init__.py", line 118, in execute
		       result = _pix_import.load(context, filepath, name_suffix=ef_format_suffix)
		     File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\imp\pix.py", line 448, in load
		       scs_root_object = _create_scs_root_object(filename, loaded_variants, loaded_looks, mats_info, objects, locators, armature)
		     File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\imp\pix.py", line 310, in _create_scs_root_object
		       _material_utils.set_shader_data_to_material(mat, material_section, is_import=True, override_back_data=False)
		     File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\utils\material.py", line 643, in set_shader_data_to_material
		       created_textures[tex_type] = get_texture_image(scs_texture_str, tex_type)
		     File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\utils\material.py", line 50, in get_texture_image
		       return get_reflection_image(texture_path, report_invalid=report_invalid)
		     File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\utils\material.py", line 191, in get_reflection_image
		       if len(abs_texture_filepaths) != 6:
		   TypeError: object of type 'NoneType' has no len()
		   
ERROR	-  Following files failed to load:
		   -> 'E:/ETS 2/00_SCS_Base/vehicle/trailer_owned/krone_profiliner/chassis'


		   ERROR SUMMARY:
		   ================
		   > Texture 'E:\\ETS 2\\00_SCS_Base\\material/environment/vehicle_reflection.dds' used in TOBJ doesn't exists.
		   > TOBJ file: 'E:\\ETS 2\\00_SCS_Base\\material\\environment\\vehicle_reflection.tobj' settings reading aborted, check printings above.
		   > Unexpected 'TypeError' accured during import:
		     Traceback (most recent call last):
		       File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\__init__.py", line 118, in execute
		         result = _pix_import.load(context, filepath, name_suffix=ef_format_suffix)
		       File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\imp\pix.py", line 448, in load
		         scs_root_object = _create_scs_root_object(filename, loaded_variants, loaded_looks, mats_info, objects, locators, armature)
		       File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\imp\pix.py", line 310, in _create_scs_root_object
		         _material_utils.set_shader_data_to_material(mat, material_section, is_import=True, override_back_data=False)
		       File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\utils\material.py", line 643, in set_shader_data_to_material
		         created_textures[tex_type] = get_texture_image(scs_texture_str, tex_type)
		       File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\utils\material.py", line 50, in get_texture_image
		         return get_reflection_image(texture_path, report_invalid=report_invalid)
		       File "D:\Steam\steamapps\common\Blender\2.81\scripts\addons\io_scs_tools\utils\material.py", line 191, in get_reflection_image
		         if len(abs_texture_filepaths) != 6:
		     TypeError: object of type 'NoneType' has no len()
		     
		   > Following files failed to load:
		     -> 'E:/ETS 2/00_SCS_Base/vehicle/trailer_owned/krone_profiliner/chassis'
		   ================


Image
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |

User avatar
tobrago
Posts: 2035
Joined: 19 Jun 2013 12:54
Location: Belgrade / SRB /
Contact:

Re: blender stopped importing shader

#2 Post by tobrago » 01 Jan 2020 23:31

It's not happening to me. I generally imported trucks, trailers and everything works as it should, so far.
Google translator
Greetings and cheers
Keep truckin'

Image Image Image

User avatar
xXCARL1992Xx
Posts: 13308
Joined: 17 Aug 2016 12:18
Contact:

Re: blender stopped importing shader

#3 Post by xXCARL1992Xx » 02 Jan 2020 11:36

deleted the crap folder where i initially import all my models to before changing directions to my mod, looks like the materials folder was corrupted for whatever reason and now i can import again without a problem
Image
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |

User avatar
50keda
SCS Software
Posts: 2708
Joined: 07 Dec 2012 11:59

Re: blender stopped importing shader

#4 Post by 50keda » 03 Jan 2020 14:28

This will happen if TOBJ is in binary format or TOBJ is corrupt. Will be fixed in final BT version.

julien51200
Posts: 37
Joined: 20 May 2018 09:07

Re: blender stopped importing shader

#5 Post by julien51200 » 03 Jan 2020 23:39

Yes it is well its the ways, I managed to find all alone I look at the errors.

Post Reply

Return to “Blender Tools”

Who is online

Users browsing this forum: No registered users and 3 guests