(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!
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!
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.
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!
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
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...
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
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?
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
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?
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.
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
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?
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?
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).
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
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 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.
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?
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 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?
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
@@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?
@@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?
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?
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
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.
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?
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?
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/
@@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!
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
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?
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
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.
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
Me, one hour before gam jam submission, realizing I've never built to WebGL or published on Itch:
My savior.
spent 10 hours trying to figure this out then i came accross this video and solved it in 2 minutes. thank you so much
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!
Awesome tutorial. I also appreciate the extra bits of useful information added in. 10/10. Subscribed!
I can't thank you enough for this you have literally shaped the future of my games! Thank you so much for the help 🙌
Same Here!
thank you so much for this! still super helpful 3 years later for a new dev :)
Now I’ll be prepared to publish a game when the right time comes
I never knew unity had a platform for publishing games! Very cool. Thanks for this.
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!
(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!
I agree! There needs to be more representation in game dev and coding. Good luck on your project!
@@samyam Thanks :D
Thanks for the information! On my way to upload a playtest demo build 😊
This is seriously one of the best tutorials I have ever watched, thank you so much!
Thanks!!
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!
This helped me out!! I appreciate the tutorial and was very clear about what I needed to do!
Great!! Thanks :)
ty so much. a minute and a half in you solved my problem.
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.
Awesome!!
Awesome video, informational, short and to the point! Thx! :)
just uploaded my first game to itch... thanks for the tutorial
Congrats!!
You're a lifesaver! This was so simple and straight to the point.
Thanks :)
thank you i never know this method untill i found you you savior!
Straight to the point but still some extra information - exactly the kind of stuff I like! =)) Beautiful voice for a video btw!
Thank you!
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.
Thanks!! 🙂
Thank you, you are a life saver!
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...
Very helpful thanks so much, I'm just about to publish my fist game, super excited!
Congrats and good luck! 🎉
Awesome video there! Keeps it up with a good works!
thanks!
Thanks! This was super clear and concise! :D
Awesome tutorial!
Thanks!
helped me a lot
i took part in a mini jam it helped me it was my first!
Congrats!! 🎉🎉
Thank you, I finally published my Survival Game. God will bless you
Congratulations! 🎉
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!
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
This was a great help, thank you!
Yay!
I'm an 11 yr old and I got to upload my game.
YEAHHHHHHH BOIIIII!
Congrats!! 🎉🎊
Thanks for making this video, it was really fast and I was able to publish my game thanks to you
Awesome congrats!
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?
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...
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
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?
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
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?
So cool! Thanks so much for sharing this!
straightforward, you earned a sub :D
thank you 😄
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
Hmmm, maybe just make two separate games?
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.
Super papa 👌 unnoda voice superuhh 😁
Please help when I try to play my vr game it won’t open
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
Thanks for the great tutorial :D
Gr8 video, thx for helping me out with this!
Samyam a quality Brackeys successor
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?
I'm having the exact same issue, I've had successful builds in the past. Not sure what is going wrong
Press F12 while in the web and go to console tab, see what error it shows there might help clarify the problem more.
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?
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?
how i can build a setup installer for my game ?
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
@@samyam thanks 😥
Mam,my game dont show in search.plz,tell me a solution.
Hey thanks sam I was able to upload my first game thanks to this video
That’s amazing!! What’s the game if you don’t mind me asking? I’m interested in trying it 🙂
Thanks for the help!😁
You even helped us with that
samyam to the rescue once again
Exactly what I needed thank you!
Excellent, excellent!!!! My god you are the best, so simple and well explained!
thank you so much!!! great tutorial
You saved me a lot of time today! Thank you so much!
Thanks ! I was able to publish my Pixel Adventure World.
Congrats!
Thank you so much ibwas looking for this
thx for the tutorial, itch io rlly is great
this was useful, thanks!
super-helpful, thank you!!
When I try to publish my game for some reason it publish the tutorial and not the game I built any help?
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).
Thanks! I just uploaded my first test project. :)
Congrats!!
@@samyam I have a question. Can I put ads in my app and publish it on itch and get the profits?
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!
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
That was super helpful! Thank you!
Awesome!
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.
What kind of problem is it telling you with the build?
@@samyam just that there is a problem and to check my code. I just put it up on unity instead.
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
@@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.
Great!
Hey! Does anyone has an idea of where can i upload an AR build and run it through the browser? Thanks :)
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?
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
if your making a 3D game then here is the script (in the reply for the movement copy and paste it)
How do i put my python file in the game
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
you need to go into your email provider and verify your account when you signed up with itch.io
Very very helpful, thank you so much!
Hey, nice tutorial, thanks!
This is a very good tutorial, Got a question, can you have a downloadable version and a webGL version at the same time?
Yes! You can have multiple versions uploaded
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?
In Unity Hub go to Installs->Your Installed Version->Settings->Add Modules->And add the WebGL Build Support Module
@@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?
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
@@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?
@@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?
Finally, I can publish my game without struggling and building shit all the time
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?
Try debugging the build to see what the issue is: docs.unity3d.com/Manual/webgl-debugging.html
Please help, I did every step you said for webgl but when I publish it, it says download :/
Make sure you are selecting the type correctly, HTML
@@samyam Thanks for trying to help, but I still have the same problem, is it a bug?
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
Alright, thanks for helpinggg!
I'm using windows and I tested out the download and for some reason it says the device can harm my device?
That’s your antivirus that it doesn’t recognize the files, if it’s a trusted source I usually go ahead and download.
thank you soo much for your help you made my day. keep up the good work
Thanks!
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
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.
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?
From what I know you need to have exported it to Webgl for it to work on properly 😬
@@samyam crap i think i miss it! :"I thanks for the answer back!
Thank you for sharing👌
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?
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/
thanks a lot, this was quick, easy and simple. Just published my first 3d game!
I subbed and joined the discord server too!
Congratulations!! Thank you :)
@@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!
@@CODEFORTRESS there must be More Info button kinda thing click on that and u shall see Run Anyway option....this may work....
@@shauryasharma1574 it worked thanks ✌
I’m trying this right now I hope it works
I don't have the "Add Modules" on my 3 dots!! 😭😭
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
Thank you for the help!
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?
Hey maybe this thread can help you out
gamejolt.com/f/unity-web-playerpref-is-reset-when-game-is-updated/1682?sort=top
Very Helpful! Thank you!
I want to upload my game so that it will be downloadable for both Mac and Windows. How do I do that?
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
@@samyam Thank You
Thank you so much, it was really helpfull
What is better for a game jam?
Usually WebGL because it’s easier to play and doesn’t require download
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.
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
Great tutorial but every time i try to build the project and i get a error. i cannot play my own game
What error?
@@samyam it said it was loading something, but then I built it then I was just a floating player with a gun
Thanks! really helpful