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

"Cannot open file" error being produced when exporting with web template. #99151

Closed
girdenis-p opened this issue Nov 12, 2024 · 1 comment · Fixed by #99165
Closed

"Cannot open file" error being produced when exporting with web template. #99151

girdenis-p opened this issue Nov 12, 2024 · 1 comment · Fixed by #99165

Comments

@girdenis-p
Copy link
Contributor

Tested versions

  • Reproducible in 2ac562c and later
  • Not reproducible in 4.4.dev4

System information

Ubuntu 24.04.1 LTS - Firefox 132.0.1 (64-bit)

Issue description

After building a template with scons platform=web target=template_debug and exporting to web. The game errors with "Cannot open file {insert main scene here}".

Steps to reproduce

  1. Open any project
  2. Export to web using build made using scons platform=web target=template_debug
  3. Run export in browser

Minimal reproduction project (MRP)

N/A

@bruvzg
Copy link
Member

bruvzg commented Nov 13, 2024

Not specific to the web export, all exports seem to be broken (fail to load main scene).

ERROR: Cannot open file 'res://test.tscn'.
   at: load (scene/resources/resource_format_text.cpp:1389)
ERROR: Resource file not found: res://test.tscn (expected type: )
   at: _load (core/io/resource_loader.cpp:332)
ERROR: Failed loading scene: res://test.tscn.
   at: start (main/main.cpp:4203)

Bisects to 2ac562c (#97356)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Immediate Blocker
Development

Successfully merging a pull request may close this issue.

3 participants