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

ESCLocation disabled (SILENTLY!) if missing global ID #362

Open
jeancallisti opened this issue Jun 7, 2023 · 1 comment
Open

ESCLocation disabled (SILENTLY!) if missing global ID #362

jeancallisti opened this issue Jun 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jeancallisti
Copy link

ESCLocation disabled (SILENTLY!) if missing global ID

Scenario :

Create a room with everything required in it
The ESCLocation meant for the player's start has "Is start location" ticked, but "Global ID" is empty
Run the game (i.e. run the room)

Expected (good) :

**Some kind of error message** saying that this ESCLocation cannot be used by the engine

Observed (bad) :

The room starts without errors but the player appears at (0,0).
The player can walk around normally. It was just the startup location that got **ignored silently.**
@jeancallisti jeancallisti added the bug Something isn't working label Jun 7, 2023
@BHSDuncan
Copy link
Collaborator

@jeancallisti you might want to change your logging level to "WARN" under Escoria -> Debug -> Log Level. It defaults to ERROR, but under WARN, you'll see:

ESC (2023-06-10T13:49:27) W esc_object_manager.gd: Room has no ESCLocation node with 'is_start_location' enabled. Player will be set at position (0,0).

We can't make this into an error as by default errors are set to terminate the program.

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
None yet
Development

No branches or pull requests

2 participants