godot-escoria / escoria-issues

Central Escoria issue tracker
3 stars 0 forks source link

A room without a global ID doesn't give a helpful error #333

Closed balloonpopper closed 1 year ago

balloonpopper commented 1 year ago

Please make sure you talk to the community before creating an issue.

Describe the bug If you don't give an ESCRoom a global ID the error message doesn't say "it needs a global ID" - instead you get an error that doesn't say anything at all about the global ID.

ESC (2022-12-02T23:33:30) E esc_object_manager.gd: No room was specified to register object with, and no current room is properly set. Please either pass in a valid ESCRoom to this method, or call set_current_room() with a valid ESCRoom first.

To Reproduce Create a new scene with an ESCRoom parent, don't configure anything and run the room.

Expected behavior An error message telling you to add a global ID should appear

Screenshots If applicable, add screenshots to help explain your problem.

Versions

Additional context Add any other context about the problem here.