editor icon indicating copy to clipboard operation
editor copied to clipboard

Published projects with Bundles don't load anymore (CORS)

Open Maksims opened this issue 1 year ago • 5 comments

There seems to be some issues with loading published projects with bundles, as they throw CORS errors.

Test project: https://playcanvas.com/project/1235939/overview/bundles-cors Has two textures, one in bundle, another not in bundle. In Launcher works as expected, once published, throws CORS exception when loading bundle.

Maksims avatar Jul 12 '24 11:07 Maksims

Has this worked previously? I can see the fetch occurs with credentials set to 'include' . This does not seem to the case with other assets. If it's omitted from the request, it works

marklundin avatar Jul 12 '24 12:07 marklundin

Hey @isumygin-sc and @kpal81xd - any thoughts on this one?

willeastcott avatar Jul 17 '24 23:07 willeastcott

Any news on this?

Maksims avatar Aug 20 '24 11:08 Maksims

@Maksims Is this a regression or has this never worked?

willeastcott avatar Aug 20 '24 13:08 willeastcott

I believe it is a regression, as it used to work when publishing, and it does work with the same engine when self-publishing, but not on playcanv.as published builds.

Maksims avatar Aug 20 '24 14:08 Maksims

This seems to be a simple issue to fix, and we've been unable to use bundles in published builds for years now, only when self hosting.

Please look into it.

Maksims avatar Jul 11 '25 10:07 Maksims