playcanvas / editor

Issue tracker for the PlayCanvas Editor
https://playcanvas.com/
158 stars 28 forks source link

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

Open Maksims opened 3 months ago

Maksims commented 3 months ago

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.

marklundin commented 3 months ago

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

willeastcott commented 3 months ago

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

Maksims commented 2 months ago

Any news on this?

willeastcott commented 2 months ago

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

Maksims commented 2 months ago

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.