Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.1.X, 2020.2.X

Votes

0

Found in

2018.3

2019.2.0f1

Issue ID

1187965

Regression

Yes

Texture2D.LoadRawTextureData no longer works on WebGL with PVR and other non-DXT compressed texture formats

WebGL

-

Texture2D.LoadRawTextureData no longer works on WebGL with PVR and other non-DXT compressed texture formats

1. Build this project on the WebGL platform
2. Host this project on [some server]
3. Navigate to the hosted site with an iPhone/iPad/Android device that supports the PVR texture format (i.e. a device using an Imagination Technologies GPU)
4. Notice in console that the texture format is unsupported and thus becomes black

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a1.495

  2. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.2f1.3818

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.17f1

Comments (1)

  1. phulcybrazos

    Mar 08, 2021 22:23

    I am on 2019.4.17f1 and am unable to use any of the PVRTC texture compression formats when the target platform is WebGL and I load the build up on an iOS device. What specific "support" for PVRTC with this fix?

    Note: I am manually compressing the texture using EditorUtility.CompressTexture and using LoadRawTextureData to load the data at runtime.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.