Unity WebGL Game Not Working? This Should Fix it

  Рет қаралды 56,954

AstroSam

AstroSam

Күн бұрын

Пікірлер: 85
@Chadderbox
@Chadderbox 3 жыл бұрын
I wish I had this video to show some of my friends a while ago. Really useful stuff!
@yiikes.1243
@yiikes.1243 2 жыл бұрын
love this. every single game jam I always find my way here an hour before the deadline.
@GentleGorillas
@GentleGorillas 2 жыл бұрын
LOL LITERALLY
@AlfurnoGaming
@AlfurnoGaming 9 ай бұрын
Same
@giacomocali6853
@giacomocali6853 2 жыл бұрын
OMG! You just saved my life. I was trying to make my WebGL game work for Ludum Dare 50. This video should definetively have more views.
@AstroSamDev
@AstroSamDev 2 жыл бұрын
I'm glad it worked! My biggest fear with game jams was the possibility that my game would be unplayable. During my very first game jam, I built and submitted it just before the deadline, but it was a broken build so nobody could play it :( . I found these settings fixed it 95% of the time. Good luck in LD 50!
@giacomocali6853
@giacomocali6853 2 жыл бұрын
@@AstroSamDev Thanks, i published the game just now :)
@Hwyadylaw
@Hwyadylaw Жыл бұрын
Stripping isn't *compression*, though it does save a bit of space. It "simply" removes unused code. Unfortunately it's possible that it determines that a chunk of code is unused and throws it away, even when it's needed to run the game.
@gfcf14
@gfcf14 Жыл бұрын
Disabling compression alone worked for me. Thanks so much!
@edgirlgaming
@edgirlgaming 9 ай бұрын
you deserve a like for helping me.
@dawnsglory
@dawnsglory 2 жыл бұрын
You saved me! Thank you so much! (my lighting changed a little though and some glitching in deep blacks, but maybe it's something else)
@GriTss
@GriTss 2 жыл бұрын
Thank's a lot! Saved my ass. I've been through 15 google pages with useless forums before I found this one.
@MausBastion
@MausBastion 2 жыл бұрын
Still having issues. What else can I try?
@AZEScottTroll
@AZEScottTroll Жыл бұрын
I'm getting a signature mismatch error everytime I try and load a new scene
@ItsNetworking
@ItsNetworking 2 жыл бұрын
Have you ever had: "Unity An abnormal situation has occurred: the PlayerLoop internal function has been called recursively." ? I have no idea how to fix it... been stuck for a while now.
@sanghoonlim6505
@sanghoonlim6505 2 жыл бұрын
0:54 I have ".NET Standard 2.1". Is there are problem?
@AstroSamDev
@AstroSamDev 2 жыл бұрын
That is unrelated to this video and a newer version should not have any effect.
@patricandrade3175
@patricandrade3175 5 ай бұрын
how large does a game have to be for it to be unplayable?
@EUDEUB
@EUDEUB 2 жыл бұрын
Thank you! you saved my project
@AstroSamDev
@AstroSamDev 2 жыл бұрын
Glad it helped!
@TheFaixee
@TheFaixee 2 жыл бұрын
Thank you Dude you saved my Project.
@AstroSamDev
@AstroSamDev 2 жыл бұрын
Glad I could help!
@worldofretrogaming2248
@worldofretrogaming2248 Жыл бұрын
lol in the game I´m working on in unity right now I´m, using the same music :D Nice vid btw.
@arpitsrivstva
@arpitsrivstva 2 жыл бұрын
I am getting br (broken) files in build folder. How to fix?
@syconanimation773
@syconanimation773 3 жыл бұрын
When I export my game the play buttons is not working can you help out
@Oliver-b6b
@Oliver-b6b 2 жыл бұрын
BRO thanks so much this is the best video ever you helped me so much!!!!!!
@AstroSamDev
@AstroSamDev 2 жыл бұрын
Glad I could help!
@ejtomas1508
@ejtomas1508 2 жыл бұрын
my game in unity looks fine but when i export it, the text isnt where its supposed to be. I need help
@AstroSamDev
@AstroSamDev 2 жыл бұрын
This can usually be an issue with the canvas object in unity. Try changing the scaling to match the screen width. Also, maximize the game view in unity so you can see the changes in real time without needing to build.
@therealdeadend
@therealdeadend Жыл бұрын
Man you really saved the day
@kazru7703
@kazru7703 3 жыл бұрын
I can build my file successfully, but when i upload my Game with WebGL.Zip file,i don't see the "This file will be played in the browser" on my screen , can you help me?
@AstroSamDev
@AstroSamDev 3 жыл бұрын
Ok can you msg me in discord? I'm AstroSam#2224
@kazru7703
@kazru7703 3 жыл бұрын
@@AstroSamDev Yes,I'm KAZRU(#7118).
@Wendell-om3nq
@Wendell-om3nq Жыл бұрын
Thanks that solved the problem!
@FC12CGaming
@FC12CGaming 3 жыл бұрын
Is There Any Possible Way To Upload The WebGL Build To Something Like Google Slides?
@AstroSamDev
@AstroSamDev 3 жыл бұрын
No I don't think it's possible to embed it in Google slides, but you might be able to do something where you upload the source files to drive then embed the html portion.
@blraj.
@blraj. Жыл бұрын
Hi, thanks for the video. I have a project I want to keep in linear space (but I tried this anyway with gamma) but whilst it rendered white and black large pixels before, with these settings it gets stuck on loading, any ideas how to fix it?
@acakebread
@acakebread 2 жыл бұрын
awesome.. worked like a charm
@juantomasdelportillo7888
@juantomasdelportillo7888 2 жыл бұрын
you saved me, for real ,thank you🙌
@Criares
@Criares 2 жыл бұрын
YOU SAVE ME!! THANK YOUU!!
@plateshutoverlock
@plateshutoverlock 2 жыл бұрын
I love how unity managed to create the _EXTRACT ONLY_ format known as .unityweb There is absolutely no 3rd party utility known to man that can modify or add content to .unityweb files, only extract from them
@bl6qs443
@bl6qs443 3 жыл бұрын
thank you so much!
@omgimnot6738
@omgimnot6738 2 жыл бұрын
Bro you are a demi-god
@haachamachama7
@haachamachama7 2 жыл бұрын
Thank you, you saved me! Unity NEEDS better support for WebG! How hard would it be to fix this, Unity, at very least change the defaults lol
@AstroSamDev
@AstroSamDev 2 жыл бұрын
You're welcome, I'm glad I could help!
@randielarias6766
@randielarias6766 3 жыл бұрын
Loco Muchisimas gracias! Hagan el video que si funciona 100%
@sanghoonlim6505
@sanghoonlim6505 2 жыл бұрын
How can I do in WebGL2?
@kumarangl2013
@kumarangl2013 6 ай бұрын
it works. thanks a lot:)) - 2024 jul
@deanodoesstreaming1653
@deanodoesstreaming1653 2 жыл бұрын
Great stuff man learning unity atm you saved me a lot of time
@regys9521
@regys9521 2 жыл бұрын
thank you very much is not enough for this content
@PeashooterXD
@PeashooterXD 8 күн бұрын
THANKS SO MUCH BROOOO
@TinyGamesStudio
@TinyGamesStudio 2 жыл бұрын
😃Thanks Buddy!! You Help Me!😃
@modWebGL
@modWebGL 6 ай бұрын
before 5.4.0 unity has web player export function , but its outdated🥲🥲🥲
@somedudeonaktm6545
@somedudeonaktm6545 3 жыл бұрын
Will this video help me with the unity game using over %80 cpu???
@somedudeonaktm6545
@somedudeonaktm6545 3 жыл бұрын
Like I uploaded it to itch.io and it uses over %80 of the cpu, will this tutorial help with that??
@AstroSamDev
@AstroSamDev 3 жыл бұрын
The settings I changed should increase performance, but some games are too complex to even run in a browser. If I were you, I would also try limiting the amount of game objects and scripts running so it is lighter on the CPU. If it still wont run in the browser, just export for windows and mac.
@Falcon23K
@Falcon23K 3 жыл бұрын
great video
@t3st3d
@t3st3d 2 жыл бұрын
thanks for the tutorial
@sanghoonlim6505
@sanghoonlim6505 2 жыл бұрын
How can I do in 2021 Version?
@AstroSamDev
@AstroSamDev 2 жыл бұрын
This process should apply to all of the recent versions of unity
@sanghoonlim6505
@sanghoonlim6505 2 жыл бұрын
@@AstroSamDev But, I had error. So I downgraded.
@IberianInteractive
@IberianInteractive Жыл бұрын
Nope It doesnt work...
@_GhostMiner
@_GhostMiner 3 жыл бұрын
Webgl in unity is the worst thing ever. >:( Gamemaker is much faster and never gets stuck on some il2cpp or compile web module. But obviously gamemaker can't make 3d and basically everything but 2d
@y01cu_yt
@y01cu_yt 6 ай бұрын
Thanks a lot!
@ZakChance-b7g
@ZakChance-b7g Жыл бұрын
Great! This is the real deal....
@StarDolphin
@StarDolphin 5 ай бұрын
Your a life saver
@shinodesigns247
@shinodesigns247 2 жыл бұрын
Thanks!
@osamaelawad1428
@osamaelawad1428 3 жыл бұрын
IT'S WORK ,Thank You too much , would You PLEASE inform me the website Name which You upload and host You webgel
@AstroSamDev
@AstroSamDev 3 жыл бұрын
Itch.io
@osamaelawad1428
@osamaelawad1428 3 жыл бұрын
@@AstroSamDev Thank you too much my friend Greetings From Sudan
@Kaldrin
@Kaldrin 2 жыл бұрын
This created even more error messages when playing the WebGL :/ Thanks for trying though
@AstroSamDev
@AstroSamDev 2 жыл бұрын
Please make sure the errors are due to the compiler, rather than your own code or assets. The problems this video fixed are mainly graphics and loading related, which usually only throw discrete errors or just cause the game to freeze/crash. I advise you to actually read what the error message says; it's purpose is to tell you exactly what is wrong so you can fix it.
@Kaldrin
@Kaldrin 2 жыл бұрын
@@AstroSamDev the game in webgl won't load that's for sure, but in addition when I try your method it gives me a big error pop up in the navigator. I'll investigate more but our code and assets don't have errors in the editor or in a standard build
@dulo9276
@dulo9276 2 жыл бұрын
2022 still working!!!
@GlitchVR
@GlitchVR 2 жыл бұрын
Did you find a fix? I feel like we are having the same problem here!
@PeashooterXD
@PeashooterXD 8 күн бұрын
W
@mcdev6868
@mcdev6868 2 жыл бұрын
This is terrible advice. Yes it may fix a problem, but by bruteforcing. There are better ways to fix optimization issues, e.g. just by looking at the console. Usually it tells you directly what is wrong. I never ever had a game be "too far" compresed this is just wrong. There might be other issues, server settings are one of them. So maybe compression is an issue for specific webhosts but the reasoning I think is wrong. Both Gzip and brotli are lossless compressions so quality is not increased either by choosing those. Compression of assets is still defined per asset. For mesh compression though, you are right.
@mentallyunprepared8635
@mentallyunprepared8635 2 жыл бұрын
I wish it worked
@elenitsakou8456
@elenitsakou8456 11 ай бұрын
ΑΜΑΖΙΝG!
@Cat_6921
@Cat_6921 Жыл бұрын
NO IT IS NOT WOKRING DO NOT BOTHER WASTING YOUR TIME ON THIS STUPID TUTORIAL JUST SAYING
@supercyclone8342
@supercyclone8342 Жыл бұрын
​@@rufusframptonAny suggestions? I'm using 2022.3.5f1 and nothing is working. And my project is tiny too. I'm just experimenting with UI
@sanghoonlim6505
@sanghoonlim6505 2 жыл бұрын
How can I use Linear?!
@sanghoonlim6505
@sanghoonlim6505 2 жыл бұрын
How can I do in WebGL2.0? Help me.
@diogoveiga2918
@diogoveiga2918 2 жыл бұрын
Thank you so much!
@hejhejhej952
@hejhejhej952 Жыл бұрын
Thank you so much!
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,4 МЛН
Создание билда WebGL
19:28
Яндекс Игры для Разработчиков
Рет қаралды 72 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
How To Upload your Unity Game to Itch.io using WebGL
12:25
Indie Game Academy
Рет қаралды 1,1 М.
A new way to generate worlds (stitched WFC)
10:51
Watt
Рет қаралды 556 М.
How to Host Unity a Webgl Game on Github for Free
3:57
Max O'Didily
Рет қаралды 10 М.
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 355 М.
I Beat Minecraft From One Grass Block
35:27
Beppo
Рет қаралды 6 МЛН
Be CAREFUL with Scriptable Objects!
8:27
Code Monkey
Рет қаралды 87 М.
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 1,5 МЛН
I Made A Difficult Game About Climbing
15:04
Pontypants
Рет қаралды 2,3 МЛН
Evolving Genetic Neural Network Optimizes Poly Bridge Problems
9:59