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

Instance placeholder not counted in the scene dependencies (moving the file causes broken scene). #13172

Closed
HummusSamurai opened this issue Nov 22, 2017 · 1 comment · Fixed by #13384

Comments

@HummusSamurai
Copy link
Contributor

HummusSamurai commented Nov 22, 2017

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Fedora 27, master branch (beta), Nvidia 930M

Issue description:
Dependency list should show files of placeholder scenes so that they can be fixed when the path is broken.

Steps to reproduce:

  1. Instance a scene and set it as placeholder.
  2. Move/rename/delete it (using godot or filesystem).
  3. Re-start the project.
  4. The scene is now broken and can only be fixed by using a text editor to manually fix the broken file path.

Link to minimal example project:

@HummusSamurai HummusSamurai changed the title Instance placeholder not shown in the dependencies dialog (moving the file causes broken scene). Instance placeholder not counted in the dependencies list (moving the file causes broken scene). Nov 22, 2017
@HummusSamurai HummusSamurai changed the title Instance placeholder not counted in the dependencies list (moving the file causes broken scene). Instance placeholder not counted in the scene dependencies (moving the file causes broken scene). Nov 22, 2017
@akien-mga akien-mga added this to the 3.0 milestone Nov 22, 2017
@eh-jogos
Copy link

eh-jogos commented Nov 11, 2019

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Mint 19.1, Godot 3.1.1.stable.oficial

Still Happening on 3.1, added a MRP below but it's the same description as the issue itself.
Placeholder_MRP.zip

The MRP is already with the broken dependency. If you press F5 the project runs normally, but if you try to open the "Main" scene it fails.

If you move the "godot_icon.tscn" from the "items" folder to "res" the Main scene opens again. Either that or you have to edit the Main.tscn file in an external editor and remove the placeholder or fix the path from the line:
[node name="GodoIcon" parent="GridContainer" instance_placeholder="res://GodoIcon.tscn"]

If I move the godot_icon.tscn file with the Main scene open, it doesn't allow me to save anymore, but it doesn't tell me the problem is the instance_placeholder

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.

3 participants