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

Assertion error when dragging windows out of main window #66

Open
thaumictom opened this issue Feb 27, 2023 · 3 comments
Open

Assertion error when dragging windows out of main window #66

thaumictom opened this issue Feb 27, 2023 · 3 comments

Comments

@thaumictom
Copy link

The game crashes with an assertion error when you are dragging windows out of the game windows (only works when playing Windowed).

@codecat
Copy link
Owner

codecat commented Feb 27, 2023

I can not reproduce this. You are talking about the widget locator windows, right?

@thaumictom
Copy link
Author

Indeed, I could only reproduce it with the tachometer. Here is a video showcasing and reproducing said issue:

issue.mp4

@treierxyz
Copy link
Contributor

I can't reproduce the crash using Proton, but I might have found a related issue.
When resizing any widget to equal the width or height of the game window, the corresponding position value goes bananas.

For example, here the game window is 1920x1080. Setting any widget's width to 1920 causes an invalid X position. It's possible this could be causing the crash. Tested w/ Dashboard 1.9.6 on TM2 Canyon.
20230917145718_1

Here is the error log:
(14:58:42) 7 ScriptRuntime Dashboard Script exception: Invalid float value (NaN or Inf) passed to y
(14:58:42) 7 ScriptRuntime Dashboard   Dashboard.op/:/Source/Thing.as (line 18, column 3)
(14:58:42) 7 ScriptRuntime Dashboard     #0  void DashboardThing::InternalRender(CSceneVehicleVisState@ vis) (Dashboard.op/:/Source/Thing.as line 19)
(14:58:42) 7 ScriptRuntime Dashboard     #1  void Dashboard::Render() (Dashboard.op/:/Source/Dashboard.as line 54)
(14:58:42) 7 ScriptRuntime Dashboard     #2  void Render() (Dashboard.op/:/Source/Main.as line 23)

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

3 participants