X Tutup
Skip to content

Hotspot folder deletion is not working and game crashes #196

@mapedorr

Description

@mapedorr

Bug description

When deleting a Hotspot from the Room tab and checking the box to also delete its folder, the Hotspot is removed from the Scene tree and the Room tab, but its folder remains unaffected.

Steps to reproduce

  1. Create a Hotspot in a room.
  2. Click on the three-dot button in the created Hotspot row (in the Room tab).
  3. Mark the checkbox that assures it will delete the Hotspot's folder in the FileSystem.
  4. The Hotspot is removed from the Scene and the Room tab, but its folder remains in the project.
  5. Aditionally, when running the game it crashes because the room state is trying to access the deleted Hotspot.

Expected vs observed behavior

The Hotspot's folder should be deleted from the FileSystem and the game shouldn't crash if the Hotspot was deleted from the room.

Environment information (please complete):

  • OS type and version: Windows 11
  • Godot version: 4.2.1
  • Plugin version or branch: Beta 2

Additional context

Not part of the issue, but deletion popups are not properly rendered when opened the first time:

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup