WebGL Export in Unity 2020

Learn how to export your unity game to WebGl and Upload to itch.io.
You will also learn how to run your webGl build locally on your system.
✅Firefox Commands :
about:config
privacy.file_unique_origin
✅3D Scifi Kit Starter Kit (Affiliate): bit.ly/3txe873
✅Publish your Unity game online : • How to publish your Un...
✅Interior Lighting in URP :- • Interior Lighting in U...
✅Lightmapping in Unity:- • Basics of Lightmapping...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
☑️Quick Links :☑️
Introduction - 00:00
Scene Setup 00:08
Switch Platform to WebGl 02:17
Upload to itch.io 06:12
WebgL build on Local system 08:47
WebGl build Test 10:44
Thanks to Patrons 11:05
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
💎 Watch advanced tutorial on Patreon 💎
/ uguruz
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
📱Social Links:📱
🔸 Discord / discord
🔸 Twitter: / u_guruz
🔸 Facebook: / uguruzyt
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✅URP Tutorial Series
bit.ly/2TRZnv9
✅HDRP Tutorial Series
bit.ly/2G73caJ
✅Lighting and Post Processing Series
bit.ly/2TS0x9Z
✅Shader Graph Series
bit.ly/2Xe2AaE
✅Unity Graphics Demo
bit.ly/2XfSRAG
✅ Unity Beginner 3D Game Tutorial Series
bit.ly/2ZNTjaY

Пікірлер: 95

  • @MrTybex
    @MrTybex3 жыл бұрын

    You are a lifesaver!! You always have the content I need.

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    Thanks

  • @kunalsingh-wb1ju
    @kunalsingh-wb1ju3 жыл бұрын

    Great video and great work. Keep making content like this please!

  • @Gokuandsims16
    @Gokuandsims163 жыл бұрын

    Great Video!! This was all I wanted to know for my project!! Thanks a lot!!

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    You're very welcome!

  • @devilsgarage
    @devilsgarage7 ай бұрын

    Excellent Video! Thanks a ton!

  • @atharvasawarkar2830
    @atharvasawarkar28303 жыл бұрын

    Thank You Very Much! Great and Detailed Explaination

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    You are welcome!

  • @alexshariy8755
    @alexshariy8755 Жыл бұрын

    You helped me, thank you!

  • @rem6366
    @rem63663 жыл бұрын

    Great video ! Was just looking for tutorial about it

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    Glad you liked it!

  • @jean-michel.houbre
    @jean-michel.houbre3 жыл бұрын

    Nice video and very useful! Thanks.

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    You're welcome!

  • @zubairahmadharoon
    @zubairahmadharoon2 жыл бұрын

    Thanks I was looking how to upload.

  • @daidessery2329
    @daidessery23293 жыл бұрын

    thanks for making this video!

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    Glad it was helpful!

  • @thFaust
    @thFaust3 жыл бұрын

    I wouldn't recommend trying out the local builds the way you did here. If you chose the Build and Run option instead, Unity launches the game via a small web server. That way you don't have to mess with the browser's security settings, testing on Chrome becomes a valid option and it even handles compressed builds properly..

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    Thanks for the info. I will try that.

  • @siddharthtrivedi3322

    @siddharthtrivedi3322

    Жыл бұрын

    Yes you are right with Build and Run option, within local default browser, the build is running properly. In my case, I have installed chrome and its working.

  • @siddharthtrivedi3322

    @siddharthtrivedi3322

    Жыл бұрын

    I think, this parameter is removed from the firefox browser because I can't able to find this one. privacy.file_unique_origin Browser approaching me to add this new parameter within the browser.

  • @CallMeLudwig
    @CallMeLudwig3 жыл бұрын

    nice tutorials pls make more

  • @JustinWilcott
    @JustinWilcott3 жыл бұрын

    Love your tutorials!! Could you make one on iOS Export in Unity 2020 using HDRP features like realtime Global Illumination?

  • @mhramezanian3550
    @mhramezanian35502 жыл бұрын

    It was great, thank you

  • @UGuruz

    @UGuruz

    2 жыл бұрын

    Thank you too!

  • @DerClaudius
    @DerClaudius2 жыл бұрын

    perfect, thanks for the information... ludum dare can start now ^^

  • @UGuruz

    @UGuruz

    2 жыл бұрын

    Best of luck!

  • @br-zhou
    @br-zhou2 жыл бұрын

    much love!

  • @gebriish
    @gebriish3 жыл бұрын

    Can you do a tutorial on Sreen space reflection for HDRP please

  • @igorzemlyanoi5571
    @igorzemlyanoi55712 жыл бұрын

    Thank you very much for the usefull tutorial

  • @UGuruz

    @UGuruz

    2 жыл бұрын

    You are welcome!

  • @orlandodgpim
    @orlandodgpim2 жыл бұрын

    thank you

  • @alexis0804
    @alexis08042 жыл бұрын

    Thank you so much.

  • @UGuruz

    @UGuruz

    2 жыл бұрын

    You're welcome!

  • @nassimamoufakkir7519
    @nassimamoufakkir75193 жыл бұрын

    Thanks dude

  • @Lena-qk7qq
    @Lena-qk7qq2 жыл бұрын

    Thanks for the great video, could you please mention the link to the video where you explain how to upload the WebGL build to my website?

  • @philunityunreal7228
    @philunityunreal72282 жыл бұрын

    This video answers many of my questions, thank you. However I have 2 questions: I wasn't able to read a file by coding application.streamingAssetsPath for webgl and also, I wasn't able to quit m game. I have to close the web page for quit the game. Do you have any solutions for those two? Thank you for your attention.

  • @user-fq1zq2tw3g
    @user-fq1zq2tw3g2 жыл бұрын

    thank you!!

  • @UGuruz

    @UGuruz

    2 жыл бұрын

    Welcome!

  • @thepolygonpilgrimage
    @thepolygonpilgrimage3 жыл бұрын

    Any advice on getting past the errors that come from trying to run a webgl build on mobile? I realize its not officially supported just trying to find any way to potentially make it work for a client. Thank you for your time!

  • @UnityWorksIndia

    @UnityWorksIndia

    3 жыл бұрын

    true...

  • @mayadaaq711
    @mayadaaq7112 жыл бұрын

    I am trying to create a webgl for the default URP workshop model in linear color space but the built doesn't show the models... any idea on how to solve this?

  • @fuegogames743
    @fuegogames7433 жыл бұрын

    I am using Rewarded Ads from GameDistribution in my Game. The ads dont show when the game is in full screen mode. Do you have any solution for this?

  • @cubesavvy6540
    @cubesavvy65403 жыл бұрын

    Which version of Unity are you using?

  • @duoduoo6732
    @duoduoo6732 Жыл бұрын

    what in inside of index.html? is any requirements needed to install on user PC except browser with webgl 2.0 support? in folder Build javascripts exist? what is in TemplateData folder? if game in unity3d written in C#, then after building to WebGL C# willbe converted to javascript?

  • @ssj3mohan
    @ssj3mohan3 жыл бұрын

    Hi Friend . i think i got a bug on WebGL , my problem is . I made a avatar with many bones , i changed my Avatar settings to 255 weigtht Bones . And on 3D Unity editor its looks ok , but when i made the the WebG Game and when it load , the Skin weigth is like 4 bones So as you know more than me , If its works on Unity Editor but not on the finished game , its that a bug ?

  • @easyandsimplenow
    @easyandsimplenow11 ай бұрын

    Hi, how is it possible to convert the finished game via webgl?

  • @esa0832
    @esa08322 жыл бұрын

    Nice tutorial

  • @UGuruz

    @UGuruz

    2 жыл бұрын

    Thanks

  • @hydroweapon
    @hydroweapon2 жыл бұрын

    Completely missed out what your build file should contain Mine is missing the JSON file for now apparent reason

  • @esosaosayamwen9152
    @esosaosayamwen91522 жыл бұрын

    When I upload my game, it looks darker in WebGL than in unity. Do you know how to fix that?

  • @supertaurus2008
    @supertaurus20083 жыл бұрын

    Great you did it👌👌.. Yes recently i exported the default scene into webgl.. So by default you need to disable security in firefox or chrome for it to run. But webgl export doesn't run right out of the box

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    Yes, you are right

  • @jonathansuarez7464
    @jonathansuarez746410 ай бұрын

    How to adding enemies and shoot and died when you killed them all using on unity?

  • @hannugupta9711
    @hannugupta97113 жыл бұрын

    Can you tell me. how to run a webgl game on mobile phones ?

  • @harrydoescrap6423
    @harrydoescrap6423 Жыл бұрын

    what do i do if the template_data file didn't generate?

  • @danielgindner3047
    @danielgindner30473 жыл бұрын

    Thx so much but I am downloading it by Build Settings. It is saying Building Native binary with IL2CPP Now I cant See Ma project anymore wth

  • @sanghoonlim6505
    @sanghoonlim65052 жыл бұрын

    I shared mine in unity side, but i can't load more than 90%. how can I do?

  • @sanghoonlim6505
    @sanghoonlim6505 Жыл бұрын

    Help me. I'm using a 2021.3.6f1 Version. And after I build, I see black screen. So, help me.

  • @annelixie9245
    @annelixie92453 жыл бұрын

    hi! how did you manage to lock the crosshair to the middle of the screen? when I export my locked cursor in webGL it becomes invisible :(

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    I used First Person AIO assets for that. As shown in the video.

  • @aurelianobuendia24
    @aurelianobuendia242 жыл бұрын

    Im not able to make my webGL export for working IOS devices, is there any way i can solve this?

  • @issaelynuma9001
    @issaelynuma9001 Жыл бұрын

    I cant reproduce videos on my HTML Game. I have compiled many times and i got the same result. Only a blue Screen.

  • @freepik19nineteen2
    @freepik19nineteen22 жыл бұрын

    abort("both async and sync fetching of the wasm failed")

  • @marcoross4169
    @marcoross41693 жыл бұрын

    Hi thanks for you video and you Patreon account!. one question : webgl2 works on Mobile? i have errors... what's the best way/setting to compile webgl for browsers? regards.

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    I haven't tried that yet.

  • @marcoross4169

    @marcoross4169

    3 жыл бұрын

    @@UGuruz any chance to see a focus on this topic?

  • @miro-hristov
    @miro-hristov Жыл бұрын

    10:17 All you have to do to test locally is click "Build and Run" and will work even on Chrome. No need to disable compression. It will launch a web server on localhost:56619 or similar and work properly.

  • @DEADEYESTUDIO

    @DEADEYESTUDIO

    Жыл бұрын

    for some reason build and run always ends up failing to build, but if i just choose the "build" option instead it builds the game fine

  • @zainuldin9095
    @zainuldin90953 жыл бұрын

    bro please make vedio on Unity car controller ...plzzzz love from pakistan.

  • @tomatoway
    @tomatoway2 жыл бұрын

    My game don`t save progress. How fix it?

  • @unitywithblender6589
    @unitywithblender65893 жыл бұрын

    Tell me please your computer models I want to buy computer so PLZZ tell

  • @sanghoonlim6505
    @sanghoonlim65052 жыл бұрын

    7:56How can I choose Public?

  • @randomwhitedude9167
    @randomwhitedude91672 жыл бұрын

    man u great, stank u

  • @ondreass.
    @ondreass.3 жыл бұрын

    J'espère que vous créez un jeu mobile et que vous le téléchargez sur Google Play

  • @Californiagraphixx
    @Californiagraphixx3 жыл бұрын

    How to build WebGL for mobile ??

  • @CiampaGiuseppe8
    @CiampaGiuseppe83 жыл бұрын

    Does it costs something? Does this method works with Newgrounds too?

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    It's free. Sorry I don't know about Newgrounds.

  • @CiampaGiuseppe8

    @CiampaGiuseppe8

    3 жыл бұрын

    @@UGuruz ok, thanks

  • @legija1680
    @legija16802 жыл бұрын

    there was a way to publish the game publicly on my website

  • @angryhead7639
    @angryhead76393 жыл бұрын

    Can you make a video on exterior lighting in URP Plzzz

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    I already have made a video for that.

  • @angryhead7639

    @angryhead7639

    3 жыл бұрын

    @@UGuruz thanks UGuruz You have helped me a lot for my visuals

  • @LearnerTutorOfficial
    @LearnerTutorOfficial3 жыл бұрын

    Please make android build and how to publish on play store please please please please it's a request from your subscriber

  • @DEADEYESTUDIO
    @DEADEYESTUDIO Жыл бұрын

    "Our scene is looking horrible" *scene and lighting looks fine* *visual confusion* nani?

  • @sanghoonlim6505
    @sanghoonlim65052 жыл бұрын

    help me

  • @logantshow4855
    @logantshow48553 жыл бұрын

    Are u form India

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    Yes

  • @LearnerTutorOfficial
    @LearnerTutorOfficial3 жыл бұрын

    7th

  • @abcdeeeeff
    @abcdeeeeff3 жыл бұрын

    First of all what is webgl

  • @UGuruz

    @UGuruz

    3 жыл бұрын

    WebGl is way to export your game for web browser.

  • @toonhead2

    @toonhead2

    3 жыл бұрын

    @@UGuruz Does this work for mobile browsers as well?

  • @linzenmeyer
    @linzenmeyer2 жыл бұрын

    Noone cares about your lighting bro....get on with it