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

Built-in script of preloaded scene requires editor restart to become tool #81498

Closed
Tracked by #85081
KoBeWi opened this issue Sep 9, 2023 · 0 comments · Fixed by #87008
Closed
Tracked by #85081

Built-in script of preloaded scene requires editor restart to become tool #81498

KoBeWi opened this issue Sep 9, 2023 · 0 comments · Fixed by #87008

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Sep 9, 2023

Godot version

4.2 dev4

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

Title.

godot.windows.editor.dev.x86_64_VsHQKUPjHc.mp4

Closing all scenes and everything does not help. The script is probably cached somewhere and can't get reloaded.

Steps to reproduce

  1. Create SceneB
  2. Create SceneA
  3. Preload SceneB in SceneA
  4. In SceneB create a script (built-in) and add @tool
  5. The script is not tool (the icon is white)

Minimal reproduction project

toolbug.zip
Try to add @tool built-in script in the Broken.tscn. Does not matter if Preloader is opened or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants