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

Error serving a Unity3D webgl project after I installed flutter on my machine #10

Open
paulorenanmelo opened this issue Sep 21, 2021 · 4 comments

Comments

@paulorenanmelo
Copy link

I'm getting ERROR: GET /flutter_service_worker.js?v=2538856064 [404: does not exist], even though flutter is not running anywhere - as far as I'm aware.

@paulorenanmelo paulorenanmelo changed the title Error serving a unity webgl project after I installed flutter on my machine Error serving a Unity3D webgl project after I installed flutter on my machine Sep 21, 2021
@greggman
Copy link
Owner

Sorry but I'd need a repo to tell you what's wrong. It's possible some other app you served locally is using a service worker in which case you might be able to fix it by going into your browser's devtools and deleting the service worker.

In Chrome I seem to be able to go to

chrome://serviceworker-internals/?devtools and then if there is one registered for localhost, unregister it.

@paulorenanmelo
Copy link
Author

paulorenanmelo commented Sep 22, 2021

Sure. Here it is.
Cube.zip
I don't think it's relevant in this case, because there's nothing related to google flutter in this project. Pretty much anything I try to serve will throw this error:

server started on ::8080 for path: D:\PR\Medpixel\wkspaces\MP_EyeAnatomy\EyeAnatomy\Builds\Cube
available on:
   http://localhost:8080
   http://192.168.1.10:8080
   http://127.0.0.1:8080
GET /
GET /Build/UnityLoader.js
GET /Build/Cube.json
GET /Build/Cube.wasm.code.unityweb
GET /Build/Cube.wasm.framework.unityweb
GET /Build/Cube.data.unityweb
GET /Build/Cube.jpg
GET /flutter_service_worker.js?v=2538856064
ERROR: GET /flutter_service_worker.js?v=2538856064 [404: does not exist]

And you're probably right, it might have been a google flutter hello world or something that I ran once on the browser and it persisted.

@paulorenanmelo
Copy link
Author

And thanks for your tip, I found that on firefox too
about:debugging#/runtime/this-firefox

@greggman
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants