godotengine / godotengine/godot

Deleted Root script (.gd) used in Advanced Import Settings not cleared

Open
#114,875 0 comments 0 reactions 0 assignees View on GitHub
bug topic:editor topic:import
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.6 beta 3

### System information

Linux Mint

### Issue description

`Root Script` field in Advanced Import Settings (for .glb) is not cleared after .gd file deleted and make Advanced Import Settings dialog unopenable for this file

### Steps to reproduce

1) Create new script, for ex. `props.gd`

Image

2) Use it in any .glb Advanced Import Settings

Image

3) Press Reimport

4) Delete `props.gd`. Dialog show dependence and said it will deleted

Image

Press `Remove`

5) Try to open this `.glb` file

Image

---
`Reload Current Project` _sometimes_ fixing it, no idea for what condition
Renaming used `.gd` file works properly without issues

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.