Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError occurs in Material Preview #256

Open
saturday06 opened this issue Jul 3, 2022 · 0 comments
Open

UnicodeDecodeError occurs in Material Preview #256

saturday06 opened this issue Jul 3, 2022 · 0 comments
Assignees

Comments

@saturday06
Copy link

UnicodeDecodeError occurs when the "Material Preview" is enabled.

Steps to Reproduce

  1. Open Blender
  2. Install add-on
  3. Change render engine to "USD Hydra"
  4. Change "Viewport Shading" to "Material Preview"
  5. The following UnicodeDecodeError occurs:
Read prefs: C:\Users\saturday06\AppData\Roaming\Blender Foundation\Blender\3.1\config\userpref.blend
Reloading external rigs...
Reloading external metarigs...
2022-07-03 14:16:53,428 INFO hdusd.init [16672]:  Loading USD Hydra addon version=(1, 1, 1), build=9ffb8d7
###################################################################################
#  HD_ENABLE_SCENE_INDEX_EMULATION is overridden to 'false'.  Default is 'true'.  #
###################################################################################
[MSG  @RIF]: Loaded RIF API version: 1.7.3.0x1c7b817e
2022-07-03 14:17:05,239 ERROR hdusd.engine [16672]:  'utf-8' codec can't decode byte 0x8e in position 217: invalid start byte, EXCEPTION:, Traceback (most recent call last):
  File "C:\Users\saturday06\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\engine\viewport_engine.py", line 288, in draw
    self.renderer.Render(stage.GetPseudoRoot(), self.render_params)
pxr.Tf.ErrorException: <unprintable ErrorException object>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\saturday06\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\engine\engine.py", line 121, in view_draw
    self.engine.draw(context)
  File "C:\Users\saturday06\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\engine\viewport_engine.py", line 291, in draw
    if isinstance(e, Tf.ErrorException) and ("GL error: invalid operation" in str(e)
  File "C:\Users\saturday06\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\libs-3.10\lib\python\pxr\Tf\__init__.py", line 172, in __str__
    return '\n\t' + '\n\t'.join([str(e) for e in self.args])
  File "C:\Users\saturday06\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\hdusd\libs-3.10\lib\python\pxr\Tf\__init__.py", line 172, in <listcomp>
    return '\n\t' + '\n\t'.join([str(e) for e in self.args])
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8e in position 217: invalid start byte

System Information (OS, Hardware)

  • Blender 3.1.2
  • Windows 11 Pro 21H2 22000.778
  • GPU
    • renderer: 'NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2'
    • vendor: 'NVIDIA Corporation'
    • version: '4.5.0 NVIDIA 516.59'
  • BlenderUSDHydraAddon_1.1.1_Blender_3.1_Windows.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants