Skip to content

Firefox 134 causes webexports with bigger pck files to be unable to cache correctly #101643

Closed
@Lortemanden

Description

@Lortemanden

Tested versions

This was tested on godot version 4.3.stable and 4.4.dev7.
It was also tested on firefox 133 and 134

System information

Godot v4.4.dev7 - Windows 10 (build 19045) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3050 (NVIDIA; 32.0.15.6094) - AMD Ryzen 5 5500 (12 threads)

Issue description

After the Firefox 134 update many of our users have had problem using Firefox to play godot games via web exports. It seems that a large pck file causes the Firefox cache to not work correctly, giving the following error: Couldn't load project data at path ".". Is the .pck file missing? If you've renamed the executable, the associated .pck file should also be renamed to match the executable's name (without the extension)

Image

I can get it to work when disabling the cache on our live games but with the MRP I can barely get it to work after refreshing multiple times.

Steps to reproduce

  1. Create a empty project
  2. Fill the client folder with some big files so the pck size gets above 40 mb
  3. Export the project or run it with remote debug using firefox 134
  4. Refresh the page a couple of times

Minimal reproduction project (MRP)

I could not upload my MRP since it was more then 10 mb. Instead I have uploaded my MRP with only 1 bloat file called BEEG.png. To reproduce the error you will have to duplicate this file around 20 times.

Firefox_test.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions