Build and Publish Unity Game to Itch.io

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 287

  • @richardstevenson371
    @richardstevenson371 3 ปีที่แล้ว +36

    Me, one hour before gam jam submission, realizing I've never built to WebGL or published on Itch:
    My savior.

  • @migparadox5090
    @migparadox5090 3 ปีที่แล้ว +4

    spent 10 hours trying to figure this out then i came accross this video and solved it in 2 minutes. thank you so much

  • @HeyGrouch
    @HeyGrouch ปีที่แล้ว +2

    Every time I need to post something to itch, I watch this video. I've posted to itch 5 times. I never learn, lol. Great work!

  • @PastaCouch
    @PastaCouch 3 ปีที่แล้ว +22

    Awesome tutorial. I also appreciate the extra bits of useful information added in. 10/10. Subscribed!

  • @Cryantis
    @Cryantis 4 ปีที่แล้ว +39

    I can't thank you enough for this you have literally shaped the future of my games! Thank you so much for the help 🙌

    • @0997udan
      @0997udan 2 ปีที่แล้ว

      Same Here!

  • @GoldGameDev23
    @GoldGameDev23 7 หลายเดือนก่อน +1

    thank you so much for this! still super helpful 3 years later for a new dev :)

  • @isaiahcancode2649
    @isaiahcancode2649 3 ปีที่แล้ว +2

    Now I’ll be prepared to publish a game when the right time comes

  • @XcutAngel
    @XcutAngel 3 ปีที่แล้ว +2

    I never knew unity had a platform for publishing games! Very cool. Thanks for this.

  • @imvincible1391
    @imvincible1391 4 ปีที่แล้ว +32

    Thanks sooo much! My game was due for a school project and i had it made but I just couldn't figure out how to upload it!! Thanks so much!

    • @imvincible1391
      @imvincible1391 4 ปีที่แล้ว +4

      (Also its so nice to see a fellow girl in coding! Every other unity video I've found was by a boy)
      Not saying that's wrong its just nice to see another girl!

    • @samyam
      @samyam  4 ปีที่แล้ว +10

      I agree! There needs to be more representation in game dev and coding. Good luck on your project!

    • @imvincible1391
      @imvincible1391 4 ปีที่แล้ว +1

      ​@@samyam Thanks :D

  • @BlackRiceStudio
    @BlackRiceStudio ปีที่แล้ว +1

    Thanks for the information! On my way to upload a playtest demo build 😊

  • @NotPrestonKakuk
    @NotPrestonKakuk 3 ปีที่แล้ว +3

    This is seriously one of the best tutorials I have ever watched, thank you so much!

    • @samyam
      @samyam  3 ปีที่แล้ว

      Thanks!!

    • @CODEFORTRESS
      @CODEFORTRESS 2 ปีที่แล้ว +1

      hey, @@samyam
      I uploaded the zip file. but when I was trying to open the .exe file. This is being shown: windows protected your pc windows smartscreen prevented an unrecognized app from starting.
      So Help!

  • @daniigirl9679
    @daniigirl9679 3 ปีที่แล้ว +7

    This helped me out!! I appreciate the tutorial and was very clear about what I needed to do!

    • @samyam
      @samyam  3 ปีที่แล้ว +1

      Great!! Thanks :)

  • @michaelbabcock6997
    @michaelbabcock6997 3 ปีที่แล้ว +1

    ty so much. a minute and a half in you solved my problem.

  • @jeerve
    @jeerve 3 ปีที่แล้ว +1

    THANK YOU SO MUCH!
    I watched Brackey's Tutorial and it was SUPER COMPLICATED!
    And, didn't work.
    But, after 3 minutes of this video. It worked.

    • @samyam
      @samyam  3 ปีที่แล้ว

      Awesome!!

  • @tesaks
    @tesaks 3 ปีที่แล้ว +6

    Awesome video, informational, short and to the point! Thx! :)

  • @shawngesellgaming
    @shawngesellgaming 3 ปีที่แล้ว +1

    just uploaded my first game to itch... thanks for the tutorial

    • @samyam
      @samyam  3 ปีที่แล้ว +1

      Congrats!!

  • @justbrettt
    @justbrettt 2 ปีที่แล้ว +8

    You're a lifesaver! This was so simple and straight to the point.

    • @samyam
      @samyam  2 ปีที่แล้ว

      Thanks :)

  • @RashedNaser-jn8qp
    @RashedNaser-jn8qp 11 หลายเดือนก่อน

    thank you i never know this method untill i found you you savior!

  • @BanXxX69
    @BanXxX69 3 ปีที่แล้ว +2

    Straight to the point but still some extra information - exactly the kind of stuff I like! =)) Beautiful voice for a video btw!

    • @samyam
      @samyam  3 ปีที่แล้ว +3

      Thank you!

  • @ContinuedBread
    @ContinuedBread 3 ปีที่แล้ว +3

    your videos are underrated. but who knows with brackeys leaving the tutorial scene there is a good chance you will rapidly get a larger audience. You have my support.

    • @samyam
      @samyam  3 ปีที่แล้ว +2

      Thanks!! 🙂

  • @xalugg
    @xalugg ปีที่แล้ว +1

    Thank you, you are a life saver!

  • @sigboy1232
    @sigboy1232 3 ปีที่แล้ว

    thank u so much after like a hour of trying to getting it on the app/google play store i did this instead and it worked...

  • @ChrisTeeGaming
    @ChrisTeeGaming 4 ปีที่แล้ว +2

    Very helpful thanks so much, I'm just about to publish my fist game, super excited!

    • @samyam
      @samyam  4 ปีที่แล้ว +2

      Congrats and good luck! 🎉

  • @jonathansuarez7464
    @jonathansuarez7464 5 หลายเดือนก่อน

    Awesome video there! Keeps it up with a good works!

    • @samyam
      @samyam  5 หลายเดือนก่อน

      thanks!

  • @MrLuigiBean1
    @MrLuigiBean1 3 ปีที่แล้ว +3

    Thanks! This was super clear and concise! :D

  • @0997udan
    @0997udan 3 ปีที่แล้ว +1

    Awesome tutorial!

    • @samyam
      @samyam  3 ปีที่แล้ว +1

      Thanks!

  • @divikbruhatwhitehat1383
    @divikbruhatwhitehat1383 3 ปีที่แล้ว +1

    helped me a lot
    i took part in a mini jam it helped me it was my first!

    • @samyam
      @samyam  3 ปีที่แล้ว

      Congrats!! 🎉🎉

  • @itaff2041
    @itaff2041 2 ปีที่แล้ว

    Thank you, I finally published my Survival Game. God will bless you

    • @samyam
      @samyam  2 ปีที่แล้ว

      Congratulations! 🎉

  • @CODEFORTRESS
    @CODEFORTRESS 2 ปีที่แล้ว +2

    hey samyam,
    I uploaded the zip file. but when I was trying to open the .exe file. This is being shown: windows protected your pc windows smartscreen prevented an unrecognized app from starting.
    So Help!

    • @samyam
      @samyam  2 ปีที่แล้ว +1

      That's because of the firewall in Windows, it can happen, but here's a thread that may help
      itch.io/t/149696/getting-your-game-past-windows-smart-defender

  • @SiddharthaBertelsie
    @SiddharthaBertelsie 2 หลายเดือนก่อน

    This was a great help, thank you!

  • @gamingkids8262
    @gamingkids8262 3 ปีที่แล้ว

    Yay!
    I'm an 11 yr old and I got to upload my game.
    YEAHHHHHHH BOIIIII!

    • @samyam
      @samyam  3 ปีที่แล้ว

      Congrats!! 🎉🎊

  • @stellar7933
    @stellar7933 2 ปีที่แล้ว

    Thanks for making this video, it was really fast and I was able to publish my game thanks to you

    • @samyam
      @samyam  2 ปีที่แล้ว

      Awesome congrats!

  • @jaioudev
    @jaioudev 3 ปีที่แล้ว +1

    I download my game in itch.io and after that it can't be open. Is there any problem if i upload it the game with exe format?

    • @jaioudev
      @jaioudev 3 ปีที่แล้ว +1

      it says "The Code Execution cannot proceed because UnityPlayer.dll was not found. Reinstalling the program may fix this problem". Anyone knows what this means or what i have to do? Please help...

    • @samyam
      @samyam  3 ปีที่แล้ว

      You have to make sure in the zipped file you upload that there is a UnityPlayer.dll. When you build your game every file that has been built should be zipped up.
      answers.unity.com/questions/1425830/the-program-cant-start-because-unityplayerdll-is-m.html

  • @graciiee
    @graciiee 3 ปีที่แล้ว +2

    I want to make a game where you can play it on PC and on IOS AppStore, idk if you explained it but how do you upload it so it can be playable on both platforms?

    • @samyam
      @samyam  3 ปีที่แล้ว +1

      Hey! For iOS you are going to need to use the App Store and export the game with a Mac computer.
      Here are some instructions docs.unity3d.com/Manual/iphone-GettingStarted.html
      Then in itch.io you can link to your game in the app store

  • @KimarZuru
    @KimarZuru 2 ปีที่แล้ว

    I need some help, when I try to upload as a HTML file I get this error,
    Unable to parse Build/web_test.framework.js.br! This can happen if
    build compression was enabled but web server hosting the content
    was misconfigured to not serve the file with HTTP Response
    Header "Content-Encoding: br" present. Check browser Console
    and Devtools Network tab to debug.
    how could I fix it?

  • @mysterious_monolith_
    @mysterious_monolith_ ปีที่แล้ว

    So cool! Thanks so much for sharing this!

  • @gunkati9024
    @gunkati9024 ปีที่แล้ว

    straightforward, you earned a sub :D

    • @samyam
      @samyam  ปีที่แล้ว

      thank you 😄

  • @petelovagssecondaccount5291
    @petelovagssecondaccount5291 4 ปีที่แล้ว +2

    How can i add multiple builds? I want to add both an html and a downloadable but when i uploaded the 2nd one it just removes the 1st one

    • @imvincible1391
      @imvincible1391 4 ปีที่แล้ว +1

      Hmmm, maybe just make two separate games?

    • @samyam
      @samyam  4 ปีที่แล้ว

      You can add both, you can select HTML and then upload the files be sure to click This file will be played in the browser + Hide this file and prevent it from being downloaded. Then you can upload your other build and select the correct OS.

  • @Listen_bros
    @Listen_bros 3 ปีที่แล้ว

    Super papa 👌 unnoda voice superuhh 😁

  • @LucasRosa-d9f
    @LucasRosa-d9f 2 หลายเดือนก่อน

    Please help when I try to play my vr game it won’t open

  • @airbest-alphabet9903
    @airbest-alphabet9903 2 ปีที่แล้ว

    When I Upload My Game File The Error Pop up and Shows You already have a game on your account with that URL

  • @くぽにゃん
    @くぽにゃん ปีที่แล้ว

    Thanks so much! I spent too long with 7zip and for some reason it worked the first time the way I tried after seeing you do it normally. I guess that site can't process 7zip files or something cuz it seemed the same lol I feel so happy and relieved and Meh at the same time from spending wayyyy too many hours with it lol thanks again!!! My sanity is slowly coming back

  • @Plapp_
    @Plapp_ 3 ปีที่แล้ว +1

    Thanks for the great tutorial :D

  • @jrc7849
    @jrc7849 3 ปีที่แล้ว +1

    Gr8 video, thx for helping me out with this!

  • @sahpdude
    @sahpdude 3 ปีที่แล้ว

    Samyam a quality Brackeys successor

  • @BarbeelBarbeelBarbeel
    @BarbeelBarbeelBarbeel 3 ปีที่แล้ว +1

    When i try to play my WebGL version I get this error: “An error occurred running the unity content on this page. See your JavaScript console for more info.”
    I also tried using the downloadable pc version, but that also didn’t work.
    Am I the only one?

    • @TheLycan66
      @TheLycan66 3 ปีที่แล้ว +1

      I'm having the exact same issue, I've had successful builds in the past. Not sure what is going wrong

    • @samyam
      @samyam  3 ปีที่แล้ว

      Press F12 while in the web and go to console tab, see what error it shows there might help clarify the problem more.

  • @keepdreamin
    @keepdreamin 3 ปีที่แล้ว

    hey sam my problem is i use unity 20203.18 and html5 webgl isn't loaded in unity 20203.18 and i can't install it from modules of 20203.18 unity cause there is no modules icon to click on to install in unity 20203.18. so how do i install html5 webgl on unity 20203.18?

  • @Not_Merdo
    @Not_Merdo ปีที่แล้ว

    How do you make like a apk file like playable on browser
    And I know it doesn’t let you but like is there a way to turn it into html?

  • @RedaHaskouri
    @RedaHaskouri 3 ปีที่แล้ว +1

    how i can build a setup installer for my game ?

    • @samyam
      @samyam  3 ปีที่แล้ว

      I don't have experience with this, but here is a tutorial that might help
      th-cam.com/video/4DGvSQIA-4M/w-d-xo.html

    • @RedaHaskouri
      @RedaHaskouri 3 ปีที่แล้ว +1

      @@samyam thanks 😥

  • @esam71
    @esam71 ปีที่แล้ว

    Mam,my game dont show in search.plz,tell me a solution.

  • @elijahandrushenko6313
    @elijahandrushenko6313 3 ปีที่แล้ว

    Hey thanks sam I was able to upload my first game thanks to this video

    • @samyam
      @samyam  3 ปีที่แล้ว

      That’s amazing!! What’s the game if you don’t mind me asking? I’m interested in trying it 🙂

  • @angelexistsmusic8888
    @angelexistsmusic8888 3 ปีที่แล้ว +1

    Thanks for the help!😁

  • @krissloo143
    @krissloo143 3 ปีที่แล้ว

    You even helped us with that

  • @neenaw
    @neenaw 4 ปีที่แล้ว

    samyam to the rescue once again

  • @videogameiacs
    @videogameiacs 2 ปีที่แล้ว

    Exactly what I needed thank you!

  • @francisco_williams
    @francisco_williams 3 ปีที่แล้ว

    Excellent, excellent!!!! My god you are the best, so simple and well explained!

  • @samanthagomez3308
    @samanthagomez3308 4 ปีที่แล้ว +1

    thank you so much!!! great tutorial

  • @ramongames603
    @ramongames603 3 ปีที่แล้ว

    You saved me a lot of time today! Thank you so much!

  • @DivyamThakur-q1m
    @DivyamThakur-q1m ปีที่แล้ว

    Thanks ! I was able to publish my Pixel Adventure World.

    • @samyam
      @samyam  ปีที่แล้ว

      Congrats!

  • @maindepth8830
    @maindepth8830 4 ปีที่แล้ว +1

    Thank you so much ibwas looking for this

  • @splits8999
    @splits8999 2 ปีที่แล้ว

    thx for the tutorial, itch io rlly is great

  • @mikeklubnika
    @mikeklubnika 3 ปีที่แล้ว

    this was useful, thanks!

  • @decolonize
    @decolonize 12 วันที่ผ่านมา

    super-helpful, thank you!!

  • @aliyah4236
    @aliyah4236 ปีที่แล้ว

    When I try to publish my game for some reason it publish the tutorial and not the game I built any help?

    • @yellowmarkers
      @yellowmarkers ปีที่แล้ว

      In the Build Settings, you can reorder your scenes. The one listed first will be the one that first loads on the game startup, so you should move that one to the top and not the tutorial (assuming your game is divided into multiple scenes).

  • @suicune2001
    @suicune2001 2 ปีที่แล้ว

    Thanks! I just uploaded my first test project. :)

    • @samyam
      @samyam  2 ปีที่แล้ว +1

      Congrats!!

    • @R313e
      @R313e ปีที่แล้ว

      ​@@samyam I have a question. Can I put ads in my app and publish it on itch and get the profits?

  • @AhkioR6
    @AhkioR6 ปีที่แล้ว

    so i have a mobile game and i have zero clue how to open it on my iphone without the sizing being absolutely fried. HELPPPP!

  • @RagnarDragonson
    @RagnarDragonson 2 ปีที่แล้ว

    Great Tutorial! I managed to upload my first webgl file to itch thanks to this video, im having problems with getting my audio to work though if you have any advice? Audio wont play on any browser for some reason

  • @scottisitt
    @scottisitt 2 ปีที่แล้ว

    That was super helpful! Thank you!

    • @samyam
      @samyam  2 ปีที่แล้ว +1

      Awesome!

  • @GeorgeIsInactive
    @GeorgeIsInactive 3 ปีที่แล้ว

    Anybody know of why it might tell me I have a problem with my build when i have no errors showing when i play in unity? I checked all scenes and none give an error whilst they are the in play scene.

    • @samyam
      @samyam  3 ปีที่แล้ว

      What kind of problem is it telling you with the build?

    • @GeorgeIsInactive
      @GeorgeIsInactive 3 ปีที่แล้ว

      @@samyam just that there is a problem and to check my code. I just put it up on unity instead.

    • @samyam
      @samyam  3 ปีที่แล้ว

      Ah okay, if you’d like to provide the error message or problem that it stated I might be able to point you in the right direction

    • @GeorgeIsInactive
      @GeorgeIsInactive 3 ปีที่แล้ว

      @@samyam I believe it was a bug todo with collaboration. As since having the tab closed the when creating the webgl build, it's now managed to host to itch.io with no issue :) so I didn't get to see the error again.

    • @samyam
      @samyam  3 ปีที่แล้ว +1

      Great!

  • @delfinacarminatti2279
    @delfinacarminatti2279 4 หลายเดือนก่อน

    Hey! Does anyone has an idea of where can i upload an AR build and run it through the browser? Thanks :)

  • @blueshieldgameproduction3573
    @blueshieldgameproduction3573 3 ปีที่แล้ว

    Hi, i followed your tutorial and published my first game on itch.io, i made a launcher for my game, but when i download the laucher windows defender would blockit and say that i'm an unknown publisher, i tried to redo the proces without the launcher, using your metod but it says the same again, that i am an unknown publisher, what i did wrong?, how can i fix this?

    • @samyam
      @samyam  3 ปีที่แล้ว

      I haven't made a launcher for a game so I'm not totally sure. Maybe you can reach out to their support team
      itch.io/support

  • @bluecupcake37
    @bluecupcake37 ปีที่แล้ว +1

    if your making a 3D game then here is the script (in the reply for the movement copy and paste it)

  • @plexus2000
    @plexus2000 2 ปีที่แล้ว

    How do i put my python file in the game

  • @sunset9388
    @sunset9388 2 ปีที่แล้ว

    hello, can you help me, i have a litle problem.
    my game wont upload. It says that my email addres is not verified, can you help me pls

    • @samyam
      @samyam  2 ปีที่แล้ว

      you need to go into your email provider and verify your account when you signed up with itch.io

  • @itzmonstrovrW
    @itzmonstrovrW 2 ปีที่แล้ว

    Very very helpful, thank you so much!

  • @NewtonJR1987
    @NewtonJR1987 3 ปีที่แล้ว

    Hey, nice tutorial, thanks!

  • @N81_Chrono
    @N81_Chrono ปีที่แล้ว

    This is a very good tutorial, Got a question, can you have a downloadable version and a webGL version at the same time?

    • @samyam
      @samyam  ปีที่แล้ว

      Yes! You can have multiple versions uploaded

  • @keepdreamin
    @keepdreamin 3 ปีที่แล้ว

    hey sam there is no module icon in my unity 20203.18 white colored square box with 3 vertical dots to download and install html5 webgl on. and since there isn't how in the world do i download and install html5 webgl on unity 20203.18?

    • @samyam
      @samyam  3 ปีที่แล้ว

      In Unity Hub go to Installs->Your Installed Version->Settings->Add Modules->And add the WebGL Build Support Module

    • @keepdreamin
      @keepdreamin 3 ปีที่แล้ว

      @@samyam hi. thanks that fixed it. but now i have a new problem lol when i make a pc windows build of my game the menu screen freezes for like 10 seconds before going into gameply. gameplay is fine. but whenever i go to menu it freezes for 10 seconds again. this happens on a pc windows build. do you know what is wrong? and how to fix it?

    • @samyam
      @samyam  3 ปีที่แล้ว

      It could be the graphics or compression settings when you build it.
      While the game is playing press F12 in the browser and go to the console, it might give you a better indication of the error.
      forum.unity.com/threads/freeze-in-webgl-build-but-not-in-editor.535805/
      foxxthom.medium.com/unity-2020-webgl-freezing-at-90-357e1346aec6

    • @keepdreamin
      @keepdreamin 3 ปีที่แล้ว

      @@samyam okay. i'll try pressing F12 during gameplay. one thing i noticed is the more music tracks i put in the game the more it seems to freeze on the menu screen in a pc build. could lots of music tracks added to the game have a direct link as to why the menu screen freezes in pc build? and if it does how can that be fixed?

    • @keepdreamin
      @keepdreamin 3 ปีที่แล้ว

      @@samyam i figured out the problem why it feezes. it's the music tracks. the more music tracks i add the more the menu screen freezes for 10 seconds or so after i press start. but the less music tracks in the game the less it freezes. i tried trial and error and having 3 music tracks in the game causes the menu screen to only freeze for 1 second before going into gameplay. but if i have more than 3 music tracks in the game the menu screen freezes for at least 10 seconds or more before going into gameplay. so how do i fix it so i can put as many music tracks in the game as i want without the menu screen freezing for more than a second before going into gameplay?

  • @nglrediskindasus6595
    @nglrediskindasus6595 4 ปีที่แล้ว +1

    Finally, I can publish my game without struggling and building shit all the time

  • @preflopstore9718
    @preflopstore9718 4 ปีที่แล้ว

    Hmm... Ive tried the WebGl with unity to itch.io but it just won't load on the webpage it’s like the progress bar gets stuck.. I’ll beep trying, I read on the itch site that if it’s html it has to be all contained in the html file maybe this has something to do with it?

    • @samyam
      @samyam  4 ปีที่แล้ว

      Try debugging the build to see what the issue is: docs.unity3d.com/Manual/webgl-debugging.html

  • @megasaIexandros
    @megasaIexandros 4 ปีที่แล้ว

    Please help, I did every step you said for webgl but when I publish it, it says download :/

    • @samyam
      @samyam  4 ปีที่แล้ว +1

      Make sure you are selecting the type correctly, HTML

    • @megasaIexandros
      @megasaIexandros 4 ปีที่แล้ว

      @@samyam Thanks for trying to help, but I still have the same problem, is it a bug?

    • @samyam
      @samyam  4 ปีที่แล้ว +1

      Also make sure the .html file is on the upper level of the files you submit. You can try making another project page and seeing if it works there

    • @megasaIexandros
      @megasaIexandros 4 ปีที่แล้ว +1

      Alright, thanks for helpinggg!

  •  3 ปีที่แล้ว

    I'm using windows and I tested out the download and for some reason it says the device can harm my device?

    • @samyam
      @samyam  3 ปีที่แล้ว

      That’s your antivirus that it doesn’t recognize the files, if it’s a trusted source I usually go ahead and download.

  • @bestanton14
    @bestanton14 3 ปีที่แล้ว

    thank you soo much for your help you made my day. keep up the good work

    • @samyam
      @samyam  3 ปีที่แล้ว

      Thanks!

  • @mohammadrazakhan3852
    @mohammadrazakhan3852 3 ปีที่แล้ว

    When I am uploading WebGl zip file after that the game starts till Made with Unity then I get an error That Unity Loader not found
    Can anyone help ? Why I am getting error for UnityLoader

    • @samyam
      @samyam  3 ปีที่แล้ว

      What’s the exact error? Try changing the settings of compression in the Builder, I’ve heard that helps some people. There are also some suggestions in the comments.

  • @ivxxfuego9903
    @ivxxfuego9903 ปีที่แล้ว

    Hey! thanks! super usefull tutorial!
    Quick question, i have my build .exe done.
    The thing is that I lost my Unity project w/ the last version... (I know massive rooky mistake)
    So I can't export my webGL ..
    there is any way to publish a build w/out the webGl and be able to play it online?

    • @samyam
      @samyam  ปีที่แล้ว +1

      From what I know you need to have exported it to Webgl for it to work on properly 😬

    • @ivxxfuego9903
      @ivxxfuego9903 ปีที่แล้ว

      @@samyam crap i think i miss it! :"I thanks for the answer back!

  • @RealOhpeee
    @RealOhpeee 3 ปีที่แล้ว +1

    Thank you for sharing👌

  • @artc9063
    @artc9063 3 ปีที่แล้ว

    I did everything but when I tried to view my page and run my game, it takes forever to load and sometimes doesn't even load at all... anyone else having this issue?

    • @samyam
      @samyam  3 ปีที่แล้ว

      Hm, try these tips:
      "
      First, disable the compression in the playersettings. Enabling compression requires your webserver to serve your content correctly, since you do not have a webserver running, it doesn't even serve it.
      Second: Try to do a build and run (Ctrl + B). This will host a mini webserver and open up your index.html page automatically after the build completed. This should work out of the box without compression enabled.
      "
      forum.unity.com/threads/webgl-game-not-loading.1013611/

  • @realhardik18
    @realhardik18 3 ปีที่แล้ว +1

    thanks a lot, this was quick, easy and simple. Just published my first 3d game!
    I subbed and joined the discord server too!

    • @samyam
      @samyam  3 ปีที่แล้ว +1

      Congratulations!! Thank you :)

    • @CODEFORTRESS
      @CODEFORTRESS 2 ปีที่แล้ว +1

      @@samyam hey samyam,
      I uploaded the zip file. but when I was trying to open the .exe file. This is being shown: windows protected your pc windows smartscreen prevented an unrecognized app from starting.
      So Help!

    • @shauryasharma1574
      @shauryasharma1574 2 ปีที่แล้ว +1

      @@CODEFORTRESS there must be More Info button kinda thing click on that and u shall see Run Anyway option....this may work....

    • @CODEFORTRESS
      @CODEFORTRESS 2 ปีที่แล้ว +1

      @@shauryasharma1574 it worked thanks ✌

  • @drawingdisciple2851
    @drawingdisciple2851 4 ปีที่แล้ว

    I’m trying this right now I hope it works

  • @peterparkour2918
    @peterparkour2918 3 ปีที่แล้ว

    I don't have the "Add Modules" on my 3 dots!! 😭😭

    • @samyam
      @samyam  3 ปีที่แล้ว

      seems like a weird bug, try uninstalling that version and reinstalling through the hub
      maybe some of these solutions can help
      stackoverflow.com/questions/56817573/cant-add-modules-to-installed-unity-editors

  • @tac0240
    @tac0240 4 ปีที่แล้ว +1

    Thank you for the help!

  • @MrValiantrobe
    @MrValiantrobe 3 ปีที่แล้ว

    Hello, my game saves with PlayerPrefs, and I notice that every time I update the game, it erases the player's save file. I tried using butler and can successfully push only the changed files with it, however, every update still restarts the player's progress. This is a BIG issue considering this is an idle game, and I was wondering, what do you do to fix this?

    • @samyam
      @samyam  3 ปีที่แล้ว

      Hey maybe this thread can help you out
      gamejolt.com/f/unity-web-playerpref-is-reset-when-game-is-updated/1682?sort=top

  • @argentumstaar
    @argentumstaar 2 ปีที่แล้ว

    Very Helpful! Thank you!

  • @Viralfanatics
    @Viralfanatics 3 ปีที่แล้ว

    I want to upload my game so that it will be downloadable for both Mac and Windows. How do I do that?

    • @samyam
      @samyam  3 ปีที่แล้ว +1

      You'll have to do a build for windows, then switch the target platform to Mac and make another build. Then the user picks which one to download depending on their platform. To download Mac Build support you need to go to Unity Hub>Installs>Choose Version and click 3 dots>Add Modules>Mac Build Support

    • @Viralfanatics
      @Viralfanatics 3 ปีที่แล้ว

      @@samyam Thank You

  • @pedromolina779
    @pedromolina779 2 ปีที่แล้ว

    Thank you so much, it was really helpfull

  • @howl2339
    @howl2339 2 ปีที่แล้ว

    What is better for a game jam?

    • @samyam
      @samyam  2 ปีที่แล้ว

      Usually WebGL because it’s easier to play and doesn’t require download

  • @funasylumstudio
    @funasylumstudio ปีที่แล้ว

    Hey! Thanks for the video - do you have to worry about piracy if you go through the .zip file method? Not that it matters since I've been pirated to hell through Steam anyways haha.

    • @samyam
      @samyam  ปีที่แล้ว

      Usually when you put a game to be downloaded it’a possible to be piratable, but you can do stuff to protect the source code like obfuscation, maybe consider an exe

  • @YeetgamingYeet
    @YeetgamingYeet 3 ปีที่แล้ว

    Great tutorial but every time i try to build the project and i get a error. i cannot play my own game

    • @samyam
      @samyam  3 ปีที่แล้ว

      What error?

    • @YeetgamingYeet
      @YeetgamingYeet 3 ปีที่แล้ว

      @@samyam it said it was loading something, but then I built it then I was just a floating player with a gun

  • @Zamoksva
    @Zamoksva 3 ปีที่แล้ว

    Thanks! really helpful