Closed dalkia closed 1 month ago
Fixes #1502 (https://github.com/decentraland/unity-explorer/issues/1502)
The scene was not converted due to a Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats. exception
Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats.
According to Unity Docs, EncodeToPNG() does not work with compressed formats. This PR catches that exception
EncodeToPNG()
Fixes #1502 (https://github.com/decentraland/unity-explorer/issues/1502)
The scene was not converted due to a
Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats.
exceptionAccording to Unity Docs,
EncodeToPNG()
does not work with compressed formats. This PR catches that exception