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

[Export] Exporting for Linux/x11 platform doesn't map exr and imbake file #70073

Closed
Levrault opened this issue Dec 14, 2022 · 4 comments
Closed

Comments

@Levrault
Copy link
Contributor

Godot version

4.0-beta8

System information

KDE Plasma, intel u620

Issue description

My project has 3 maps, all of them have baked light. When exporting for Linux/X11 (doesn't happen for Windows), the following error a trigger

 
ERROR: Unable to open file: res://.godot/imported/Bedroom.exr-9532230836c3b7fe84bb3cc8b6a76809.etc2.ctexarray.
   at: _load_data (scene/resources/texture.cpp:3063)
ERROR: Failed loading resource: res://.godot/imported/Bedroom.exr-9532230836c3b7fe84bb3cc8b6a76809.etc2.ctexarray. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:214)
ERROR: Failed loading resource: res://src/maps/Bedroom.exr. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:214)
ERROR: Can't load dependency: res://src/maps/Bedroom.exr.
   at: load (core/io/resource_format_binary.cpp:699)
ERROR: Failed loading resource: res://src/maps/Bedroom.lmbake. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:214)
ERROR: Can't load dependency: res://src/maps/Bedroom.lmbake.
   at: load (core/io/resource_format_binary.cpp:699)
ERROR: Failed loading resource: res://.godot/exported/133200997/export-9dedc3e3c809a6a59b969cc33e2304cd-Bedroom.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:214)
^C

Steps to reproduce

Export a project (the same happen with or without embedded pck) with baked light

image

Minimal reproduction project

https://github.com/Levrault/mr-mister-and-the-winter
Only need to git clone and export

@akien-mga
Copy link
Member

I can't reproduce the issue with that project. I could export it to Linux using 4.0 beta 8 and everything works fine (tested both debug and release builds).

@Levrault
Copy link
Contributor Author

Hi @akien-mga , were you able to pass the start screen ?

Here a video about how I reproduce the issue
https://user-images.githubusercontent.com/1162446/207724825-f826d6eb-423a-44d4-8a57-865e9e033cda.mp4

@akien-mga
Copy link
Member

Yes the game runs perfectly fine for me.

It's pretty weird that it tries to load ETC2 textures, as those are only used on Android and iOS. So it's normal that they're not included in the PCK when exporting to Windows or Linux.

@akien-mga
Copy link
Member

This was probably fixed by #73286.

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

3 participants