Browser displays html as plain text in Unity
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm using websocket-sharp in my unity project, it works great in editor. However there are issues with http server after deployment - it sends requested file, but browser displays it as plain text - with header on top:
P/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Server: websocket-sharp/1.0
Date: Tue, 05 Aug 2014 14:28:15 GMT
Content-Length: 4484
Keep-Alive: timeout=15,max=100
App is running on exact same machine, only difference is running in editor or a standalone build.
Running on Windows 7, with Polish lang.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the HTTP server behavior in a Unity editor run and a standalone build on Windows 7, then compare the response headers and body sent to the browser. Done means the deployed build serves the requested HTML as rendered HTML rather than displaying the response headers and markup as plain text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- backend, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100