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

.tscn scenes become .tscn.remap files in exported projects #76823

Closed
reflexguru opened this issue May 8, 2023 · 1 comment
Closed

.tscn scenes become .tscn.remap files in exported projects #76823

reflexguru opened this issue May 8, 2023 · 1 comment

Comments

@reflexguru
Copy link

reflexguru commented May 8, 2023

Godot version

4.0.2

System information

Windows 11, Intel Core I5 12400F, Forward+, AMD RX 6700XT

Issue description

When listing a directory from GDScript, .tscn scenes are .tscn.remap files in exported projects, which never happened in Godot 3.x, hence this is a behavior inconsistency between runtime and exported project and causes issues. Happens in 4.0.3-rc1 as well.

Steps to reproduce

  1. Create a bunch of scenes somewhere in your project.
  2. Use an official snippet from Godot Documentation to read that directory and somehow show that on screen.
  3. See the difference between runtime and exported project.

image

Minimal reproduction project

reprod-project.zip

@Calinou
Copy link
Member

Calinou commented May 8, 2023

This is intentional behavior in 4.x, as per this comment: #66014 (comment)

Please continue the discussion in #25672. I've opened a PR to improve documentation on the subject: #76824

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants