question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong TranscodeFormat in WebGL run in iPad

See original GitHub issue

Hi, first of all thank you for the great plugin! We want to confirm if this plugin is the correct choice for us if we want to use the compressed texture in our WebGL iPad release since iPad doesn’t support DXT format. Unfortunately what we found was that in iPad, we are still having the texture to be transcoded to DXT format.

Here is the extensions that are used in iPad: image

But strangely, the GraphicsFormat results was different (e.g. PVRTC is not supported) image

I used LambdaTest to test the build using the setup for iPad 6th Gen with Safari 14. Here is the specs of iPad 6th Gen: https://igotoffer.com/apple/ipad-6th-generation-2018

I can probably force the use of PVRTC based on the extensions that are supported by the GPU for now (we can get that from https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getSupportedExtensions), but I thought I should still report this so that we can all have a proper fix if needed.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
eatmiccocommented, Jun 30, 2021

@atteneder Thank you for the response, apologies for not reporting my findings in this thread. The answer for your questions are 2 yesses and unfortunately not feasible for our needs right now. Although right now we use another method, I really appreciate for the help and response all this time. I will give this plugin a go one more time in the future (maybe after we migrate to 2021.2) and hopefully we can use it in our product then.

Cheers 😃

0reactions
attenedercommented, Jun 30, 2021

@eatmicco Question about what is the actual problem:

  • Is the desired texture visible correctly?
  • Is it DXT1, although it should/could be PVRTC?

If it’s two yesses, then I’d say it is expected behavior and will be improved with Unity 2021.2 and KtxUnity 3.0.0

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unity WebGL won't run correctly in Safari 15
Unity WebGL no longer runs in Safari. The app and animations run but interactions won't work. I've tried building for WebGL 2.0 and...
Read more >
Using WebGL on an iPad or iPhone
I wanted to know if iPhone 8 Plus and iPad Mini 2 support WebGL through Safari or Chrome or some other . I...
Read more >
Safari does not support WebGL; can't disp…
Safari does not support WebGL; can't display some websites, including parts of Apple's own website and iCloud.com.
Read more >
WebGL issues after iOS 16.4 update.
The WebGL problem is from webkit adding support for OffscreenCanvas but with missing webgl support. The workaround, until proper support, is to not...
Read more >
iOS 15 + WebGL 2 issue
Hi, I have a very weird problem, and I'm not really sure where to start searching for a solution. The problem is with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found