Open vargmurtter opened 3 years ago
Let me guess, you have some gamepad (XBox series controller for example) powered on and you're trying to run this code?
Because I have the same error while my controller is activated. Unless I turn it off.
Found a temporary workaround (in my case this error occurs ONLY when my Xbox Series Gamepad is active): In main.py (inside Ursina package directory), go to line 131 and change this
except e as Exception:
to this
except Exception:
In my case it works and my game runs.
Hello! I'm using code example from the documentation, but it throws me with the error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xca in position 0: invalid continuation byte
Code:
Windows 10 Home, Python 3.9.1
Full log: