Is it possible to host Unity project?

I have a unity game development project which runs C# Since I already use railway for my other projects I would like to host this unity as well, is it possible?
17 Replies
Percy
Percy14mo ago
Project ID: N/A
josh
josh14mo ago
can your game run on the web without railway if so, yes
ojoaoguilherme
ojoaoguilherme14mo ago
Technically, some providers access the unity project and compiles into webGL than its hosted as html and everything that is needed to work so yes, it runs on the web but not just deploy the unity... I think their would need a workflow to work with railway
josh
josh14mo ago
you would probably need to use a custom dockerfile that can do it for you
josh
josh14mo ago
or you know, maybe not actually as this is through the UI - you might need some kind of CI that does it for you
josh
josh14mo ago
Gist
Unity command line script to build WebGL player
Unity command line script to build WebGL player. GitHub Gist: instantly share code, notes, and snippets.
ojoaoguilherme
ojoaoguilherme14mo ago
thanks gonna have a look
LaCrak27
LaCrak2714mo ago
hey, for hosting a static site (a unity webgl project) railway is not optimal, i'd look into other static site hostings like vercel or netlify, as much as i love railway, it is more intended for stuff that needs a central machine, like backend servers, and not so much static site hosting
ojoaoguilherme
ojoaoguilherme14mo ago
I see, thanks for the suggestion
LaCrak27
LaCrak2714mo ago
np :) if you need any more help about hosting a unity webgl build, hmu, i have experience
ojoaoguilherme
ojoaoguilherme14mo ago
I’ll definitely let you know if I have any problems on that, thanks for the help 🙂
alexbalandi
alexbalandi14mo ago
Could you expand on this? 👀 I'm curious about the downsides
LaCrak27
LaCrak2714mo ago
You got me in a sticky situation atm, but I will expand when I get back home
ThallesComH
ThallesComH14mo ago
if @LaCrak27 don't mind saying, Vercel experience for Frontend is a lot better, they've CDN everywhere so your website loads a lot faster, plus they're totally free for hobby projects (you might not get that on Railway).
alexbalandi
alexbalandi14mo ago
Well, if CDN is the only concern, I feel i'm ok with just ignoring it / finding workarounds, but ye, I thought that might be one of the arguments
LaCrak27
LaCrak2714mo ago
Yeah, essentially
Want results from more Discord servers?
Add your server