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

Errors when restarting any scenario on the "Tutorials" track #479

Open
Jomosoto opened this issue Feb 8, 2023 · 0 comments
Open

Errors when restarting any scenario on the "Tutorials" track #479

Jomosoto opened this issue Feb 8, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Jomosoto
Copy link
Member

Jomosoto commented Feb 8, 2023

Summary

When restarting any scenario on the "Tutorials" track you get some errors and at some point the train stops.

How to reproduce

Steps to reproduce the behavior:

  1. Start any scenario on the "Tutorial" track
  2. Restart the scenario from the pause menu
  3. Observe the errors

Observed behavior

When restarting any scenario on the "Tutorials" Track you get the following errors:

ERROR: Attempted get on a deleted object.
   at: get_named (core/variant_op.cpp:1693)
ERROR: Attempted method check on a deleted object.
   at: has_method (core/variant_call.cpp:1434)
SCRIPT ERROR: Invalid get index 'switch_part' (on base: 'previously freed instance').

And this one multiple times:

ERROR: Attempted get on a deleted object.
   at: get_named (core/variant_op.cpp:1693)
ERROR: Attempted method check on a deleted object.
   at: has_method (core/variant_call.cpp:1434)
SCRIPT ERROR: Invalid get index 'attached_signals' (on base: 'previously freed instance').
          at: LTSPlayer._bake_signals (res://Data/Scripts/Player.gdc:1680)

And then repeatedly:

SCRIPT ERROR: Invalid get index 'City1' (on base: 'Dictionary').
          at: LTSPlayer.get_distance_to_signal (res://Data/Scripts/Player.gdc:1118)
SCRIPT ERROR: Invalid operands 'Nil' and 'int' in operator '+'.
          at: LTSPlayer.updateNextStation (res://Data/Scripts/Player.gdc:1315)

At some point near the second station the train stops and this error is printed:

SCRIPT ERROR: Invalid get index 'name' (on base: 'previously freed instance').
          at: advanced (res://Worlds/Tutorials/TutorialScript.gdc:132)
ERROR: Condition "_first != nullptr" is true.
   at: ~List (./core/self_list.h:108)
ERROR: Condition "_first != nullptr" is true.
   at: ~List (./core/self_list.h:108)

Version

  • Game Version: master branch (at f004eb6)
  • OS: Artix Linux x86_64
@Jomosoto Jomosoto added the bug Something isn't working label Feb 8, 2023
@nalquas nalquas added this to the 0.10 milestone Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants