I am just not sure how Unity can claim WebGL support when it is clearly broken in so many ways.
TMP_Input fields do not bring up the keyboard on mobile browsers, yes that is still WebGL and is what is attractive about WebGL, use on any platform.
Every time you build you squeeze your butt cheeks and hope and pray that you do not get the error TypeError: Cannot read properties of undefined (reading ‘apply’) at Module._ _get_timezone (/Build/ web.framework.js.br:3:324937)
And so many other issues with WebGL. Glaring issues that have been around for years.
UDK does not have this many issues, Godot does not. When will we get a working WebGL platform? I have hung around for many years through all the bull crap and stayed committed to Unity but I need WebGL support. The amount of web based casinos that would love to use Unity but would not dare is more than they realize. Pixie.js has been owning the space and its sad because Unity could. Many of them are now going to Godot. Can we please get some support?
Are there other ways to bring up the keyboard?
Have you tried UI Toolkit (VisualElement)?
What Unity version? Have you tried Unity 6? When building for mobile you should be on the very latest (even non-LTS) versions since there are continuous tech updates behind the scenes that matter a lot.
But generally, realtime Web applications on Mobile are by far the hardest platform to develop for.
It’s not just Unity’s technology. The reason why other engines may seem to work more reliably is mainly because they don’t pack so many features into it, and admittedly, they also needn’t care about 20 year old legacy parts of their technology either.
WebGL support is definitely here, WebGPU is even available now in Unity 6.
Since you’ve been doing web dev with Unity for this long, you have to consider yourself an early adopter since IMO until at least 2021.3 Unity WebGL was sort of still experimental even though it wasn’t flagged as such. Surely you have noticed the many improvements in 2021, 2022 and Unity 6?
Just as a matter of perspective: these aren’t games. This is gambling. It is highly addictive, destroying lives and families, and rightfully controlled, restricted, if not outlawed in countries around the globe. Personally, I’d rather have this area of software development covered by some other engine and would rather see Unity create some features specifically aimed at creating Hentai games. ![]()
FWIW it’s not making it any better that many mobile games employ similar forms of encouraging addictive behaviour to spend money. I wish we’d downright outlaw certain practices in games such as FOMO.
That’s because Unreal does not support web development. ![]()
Hi,
Sorry, to hear that you had issues with using Unity Web. Which version of Unity do you have issues with? We only started to officially support mobile browsers in Unity 6.
For your TMP_Input fields issue. Are you referring to this bug? IN-68850 The bug is only present in older Unity and TextMesh Pro versions that do not support mobile browsers. It should work as expected with Unity 6 and the newest version of TextMesh Pro.
For your other bug(Cannot read properties of undefined (reading ‘apply’) at Module._ _get_timezone (/Build/ web.framework.js.br:3:324937)): Can you create a test project to reproduce the bug and/or fill a bug ticket? I haven’t come across that bug before. Does your project use JavaScript plugins?
But in general I can say that the Web platform has unique challenges that are not present for other platforms. There are a large variety of devices and browsers with completely different capabilities, bugs and quirks. The runtime environment in a browser is also more restrictive than other platforms for security reasons. That is why certain features are not supported on the Web platform or work slightly different. These doc pages gives a good overview of the main limitations:
Unreal engine 5+ does not support WebGL anymore.
I think you might be using some old version of Unity (LTS maybe? Still old now that Unity 6 is out).
I’ve been successfully using and deploying Unity Web projects for 14 years now (Web Player → WebGL 1.0 → WebGL 2.0 → now WebGPU) for non-gaming educational purposes for enterprise level distribution (350k + users).
Is it as painless as desktop? No. It is quirky sometimes? Absolutely. But is it broken? Not at all.
Rule #1 compared to other platforms: DO NOT USE LTS. Use the latest non-alpha (yes, even beta sometimes is better) and keep up to date your projects with the latest Editor. That includes not using legacy systems such as IMGUI (use UIToolkit).
![]()
Great points on Latest version of Unity. I have been sticking to one version as long as I can as to not break projects but I will give it a shot. Thanks for all the feedback.
Sorry I did mean to say that when UDK did support it it worked really well, at least for me.
I will upgrade my project and see how it performs. Thanks!
Also, as far as the casino app, I did not mean those dumb apps that make you pay for fake money. I despise those apps. I am talking about real Casino apps in other countries where it is legal. Saying they destroy families is like saying Call of Duty causes violence in kids. Just not a viable excuse to stop making them for entertainment.
The analogy doesn’t work because becoming a shooter implies some form of mental conditioning and training, which is not comparable to addictive behaviour that one just slips into (often without realizing it).
I lean towards gambling being way more destructive than just being casual fun. Much like liquor it’s often trivialized even though the addictive triggers for certain personalities work as effective as heroine and it creates addicts who can never really shake the urge, and the adrenaline rush of winning.
To me, there’s entertainment, and then there’s gambling. ![]()
We can agree to disagree. No Worries. Everyone has their vices and need no excuse to fall prey to them. My dad isn’t having heart failure because he has a bad heart. It is because he never passed up a McDonald’s. I cannot blame McDonald’s for poisoning him. Everyone knows its not food.
So I updated to 6 and all the issues have magically went away! ![]()
Thanks for the help. I will keep testing.
One thing though now that I went to 6, Unity is just randomly crashing about once every thirty minutes to an hour. I can be coding in VS and Unity will just close.
I cannot send a bug report as I get a “failed to pack, locked assembly file”
I have lost lots of work to this because saving the scene actually does not save the scene. You have to save the project.
Frustrating to say the least
As always when (weird, inexplicable) issues appear after changing Unity editor versions: delete the Library.
Details at the bottom here: Troubleshooting Common 'Odd' Issues (Install, Hub, Package)