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

manual_control_with_traffic.py not starting #8476

Open
PabloVD opened this issue Dec 13, 2024 · 2 comments
Open

manual_control_with_traffic.py not starting #8476

PabloVD opened this issue Dec 13, 2024 · 2 comments
Assignees

Comments

@PabloVD
Copy link
Contributor

PabloVD commented Dec 13, 2024

The new script manual_control_with_traffic.py in ue5-dev which is a manual control with traffic generation in the same script does not work properly sometimes. Often, the pygame window opens but it freezes in black. The shell only outputs the first prints:

pygame 2.6.1 (SDL 2.28.4, Python 3.8.19)
Hello from the pygame community. https://www.pygame.org/contribute.html
INFO: listening to server 127.0.0.1:2000
Allows controlling a vehicle with a keyboard, generating traffic in the simulation
@PabloVD PabloVD self-assigned this Dec 13, 2024
@Blyron
Copy link
Contributor

Blyron commented Dec 17, 2024

This is because the Minning Truck is trying to being spawned, the script must be run with --safe and filter a proper vehicle for Town 10

@PabloVD
Copy link
Contributor Author

PabloVD commented Dec 18, 2024

Apparently that is not the reason, since the issue still happens after preventing the mining truck to spawn in Town 10. I checked that it sometimes gets stuck in the spawn pedestrians function, not sure why yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants