Skip to main content
Participating Frequently
October 25, 2022

Blender plugin randomly fails to load previously added materials

  • October 25, 2022
  • 2 replies
  • 709 views

When loading an existing blender file that contains imported materials, one or more of the materials randomly fail to load. For example:

 

Substance 3D in Blender: INFO - Shader Presets initialized...
Substance 3D in Blender: INFO - Scene Substances loaded correctly
Substance 3D in Blender: INFO - Plugin initialization...
No Instance(s) Available.
Substance 3D in Blender: INFO - Toolkit Initialized...
Substance 3D in Blender: INFO - Toolkit version [1.4.5]...
Substance 3D in Blender: INFO - [Code_Response.success] Server already running...
Substance 3D in Blender: INFO - Server Port [51649]
Substance 3D in Blender: INFO - Scene Substances loaded correctly
Info: Substance 3D in Blender: SRE Initialized sucessfully in [0.809] seconds

Substance 3D in Blender: ERROR - Exception - Unknown Error while setting parameter visibility
Substance 3D in Blender: ERROR - TRACEBACK:

Traceback (most recent call last):
File "C:\Users\Thor Ekle\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Substance3DInBlender\sbsar\async_ops.py", line 407, in _reload_sbsar_data
_outputs_class.from_json(_data)
File "C:\Users\Thor Ekle\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Substance3DInBlender\factory\sbsar.py", line 76, in _output_from_json
setattr(self, _key + Code_OutParms.bitdepth.value, _output["shader_bitdepth"])
AttributeError: Writing to ID classes in this context is not allowed: Scene, Scene datablock, error setting SUBSTANCE_SGO_9450933C-129F-43A9-8342-2B80A442B6BA.roughness_bitdepth

Substance 3D in Blender: ERROR - Exception - Rest Ignore Connection error: http://127.0.0.1:41646/v1/sbsar/3221FCF7-6551-4ED3-9AA4-BA40CF2B1B1D/output/2360350290
Substance 3D in Blender: ERROR - [(<Code_Response.rest_ignore_connection_error: -17>, 'http://127.0.0.1:41646/v1/sbsar/3221FCF7-6551-4ED3-9AA4-BA40CF2B1B1D/output/2360350290')] Threaded request fail: http://127.0.0.1:41646/v1/sbsar/3221FCF7-6551-4ED3-9AA4-BA40CF2B1B1D/output/2360350290
Substance 3D in Blender: ERROR - Exception - Rest Ignore Connection error: http://127.0.0.1:41646/v1/sbsar/C6DF02BC-3C54-44BF-8C21-F3B6BC3B70AE/output/2804012286
Substance 3D in Blender: ERROR - [(<Code_Response.rest_ignore_connection_error: -17>, 'http://127.0.0.1:41646/v1/sbsar/C6DF02BC-3C54-44BF-8C21-F3B6BC3B70AE/output/2804012286')] Threaded request fail: http://127.0.0.1:41646/v1/sbsar/C6DF02BC-3C54-44BF-8C21-F3B6BC3B70AE/output/2804012286
Info: Substance 3D in Blender: Substance [flat_limestone_rock_formation_02] was reloaded correctly

Info: Substance 3D in Blender: Substance [skyros_marble] was reloaded correctly

Info: Substance 3D in Blender: Substance [beech_toast_wood_varnished] was reloaded correctly

Info: Substance 3D in Blender: Substance [random_terrazzo_inserts] was reloaded correctly

Error: Substance 3D in Blender: An error ocurred while reloading the substance [bark_chips_covered_soil_01]

 

There doesn't seem to be any rhyme or reason to which materials fail and which load correctly.

 

Plugin version 1.01, integration tool 1.45, blender, 3.3.1.

2 replies

Adobe Employee
July 8, 2024

Hi @thorie thanks for reaching out. This was a known issue in addon version 1.x that was resolved in version 2.0. That version works with Blender 3.6 and up. Are you able to update to 3.6 or 4.1 and perform a clean install of the add-on as well?

Best,

Aldo

Participating Frequently
July 1, 2024

I have the same symptoms

How did you solve it?