Skip to content

an Exception Error Caused in ursina's mouse.py #730

Open
@cloud1980

Description

@cloud1980

My Ursina application has runned normally for months on an Ubuntu 20.04 workstaion which can be visited by xrdp service. Sometimes the administrator uses the windows system's remote connector to check if it works well.
THe Ursina version is 5.2.0.
But today, one exception happed, maybe caused by "mouse" operation.
The info in the terminator are as follows:

Traceback (most recent call last):
File "/home/ndri/Crane_WenXiu/src/main.py", line 71, in
app.run()
File "/usr/local/lib/python3.8/dist-packages/ursina/main.py", line 241, in run
super().run()
File "/usr/local/lib/python3.8/dist-packages/direct/showbase/ShowBase.py", line 3330, in run
self.taskMgr.run()
File "/usr/local/lib/python3.8/dist-packages/direct/task/Task.py", line 553, in run
self.step()
File "/usr/local/lib/python3.8/dist-packages/direct/task/Task.py", line 504, in step
self.mgr.poll()
File "/usr/local/lib/python3.8/dist-packages/ursina/main.py", line 108, in _update
mouse.update()
File "/usr/local/lib/python3.8/dist-packages/ursina/mouse.py", line 234, in update
self._picker.traverse(self.traverse_target)
AssertionError: !cnan(r2) at line 181 of panda/src/mathutil/boundingLine.cxx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions