Yes unfortunately the assets in a published Playcanvas project are served via a different origin. As you’ve encountered, this won’t work with the required same-origin policy when registering service workers. In your scenario, you’d need to self host so that you have control over the origin.