Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page. Support for Strata library starts on our Community Q&A.

UnicodeDecodeError: 'utf8' codec can't decode byte 0xb9 in position 0: invalid start byte

0 votes
When i test lowpass demo ,i  meet a problem like this ,please help me.

D:\Testproject\Lowpass>python "%WWISEROOT%/Scripts/Build/Plugins/wp.py" build -c Release -x x64 -t vc160 Authoring
Building Lowpass for Authoring_Windows in Release...
Traceback (most recent call last):
  File "E:\unitywwise/Scripts/Build/Plugins/wp.py", line 38, in <module>
    sys.exit(subcommand.run(sys.argv[2:]))
  File "E:\unitywwise\Scripts\Build\Plugins\build.py", line 101, in run
    return platform_info.build.command(platform_info.name, args.configuration, build_hooks)
  File "E:\unitywwise\Scripts\Build\Plugins\common\command\vs.py", line 89, in build
    setup_command = os.path.join(find_common_tools(vs_version), "VsMSBuildCmd.bat")
  File "E:\unitywwise\Scripts\Build\Plugins\common\command\vs.py", line 71, in find_common_tools
    common_tools = strategy.execute()
  File "E:\unitywwise\Scripts\Build\Plugins\common\command\vs.py", line 57, in execute
    products = json.loads(subprocess.check_output("{} {} -requires Microsoft.Component.MSBuild -format json".format(vswhere, self.flags)))
  File "E:\python2.7\lib\json\__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "E:\python2.7\lib\json\decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "E:\python2.7\lib\json\decoder.py", line 380, in raw_decode
    obj, end = self.scan_once(s, idx)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb9 in position 0: invalid start byte
asked Sep 15, 2022 in Feature Requests by wang x. (100 points)
Unsure what version of Wwise you are using, but I suggest you use wp.py with a recent Python 3 installation rather than Python 2.7.

Starting with Wwise, 22.1, Python 2.7 support has been dropped following since it has reached EOL.

Please sign-in or register to answer this question.

...