-
-
Notifications
You must be signed in to change notification settings - Fork 742
[BUG] 2D Starter Project Crash on Mouse Hover #2569
Comments
@nyghtly-derek the starter project isn't updated to use master yet and therefore uses old rendy/winit , I will add updating it to the todo in #2517 but please try running examples from this branch instead https://github.com/amethyst/amethyst/tree/debug-lines and let me know if they work for you. Thanks! |
@ezpuzz Thank you for the quick response. I was able to run the following examples successfully using the
Let me see if I can clarify my understanding: the starter project is using an older version of amethyst from before the (ongoing) migration to legion from specs. This makes it incompatible with Rust 1.49, because of problems with the old specs version of amethyst. In order to run on Rust 1.49, the starter project would need to be migrated to the latest version of amethyst, which requires some changes to the implementation of the starter project. Do I understand that correctly? If so, perhaps I can help with migrating the starter project. Is there a closed issue that I can look at to give me an example of what such a migration might entail? Maybe this one is a good start for me? #2582 |
Have the exact same problem. Program crashes on mouse hover on the window opened. This is not specific for the 2D starter project. Crash also occurred when following the Amethyst book. Enviroment: Edit: |
@Ducolnd Amethyst is in the process of migrating to legion (an alternative to specs, which is used under the hood). As I understand, that is the root cause for this issue, and won't be resolved soon. It's being worked on, but there's no time estimate as far as I know. In the short term, you have two options:
I'm currently developing a project using method 2. I plan to switch to the cargo package once Amethyst 0.16 is released. There's also a hidden third option:
|
This issue has been automatically marked as stale because it has not had recent activity. Maybe it's time to revisit this? |
I have the same problem: rustc 1.57.0 (f1edd0429 2021-11-29) |
@git2013vb The simplest solution would be to use Rust version 1.47. Here's how: https://users.rust-lang.org/t/how-can-i-revert-to-older-version-of-rust/20497 It's worth noting that the Amethyst engine is not being actively maintained. Bevy is the natural alternative. |
Thank you for the fast response :) Thanks. |
Description
2D starter project will crash after hovering my mouse over the game window.
Reproduction Steps
git clone https://github.com/amethyst/amethyst-starter-2d.git
.cargo run
(with your mouse cursor off to the side of the screen).Screenshots and Logs
Your Environment
Operating System: Manjaro 20.2 (linux kernel 5.4.85)
Version of Amethyst: 0.15.3
Version of Rust: 1.49.0 or 1.48.0 (same error with both)
Graphics card: TU116 [GeForce GTX 1660 Ti] (nVidia Corporation)
Additional Context
I can work around the error by switching to version 1.47.0 of Rust.
My problem appears to be similar to that of this closed issue from November: #2524
The text was updated successfully, but these errors were encountered: