Search Issue Tracker

Fixed

Won't Fix in 2021.3.X

Fixed in 2022.3.24f1

Votes

0

Found in

2021.3.34f1

2022.3.18f1

Issue ID

UUM-61560

Regression

No

The 'Read/Write' flag on Texture2DArray isn't taking effect

-

How to reproduce:
1. Open the attached “Repro” project
2. Make sure the ‘Read/Write' flag for ‘Assets/tex2d’ Asset is set to false
3. Build it using the 'Development Build' setting in Standalone Player
4. Open the Memory Profiler (Window > Analysis > Memory Profiler) and search for 'tex2d' in the search bar
5. Observe how much 'tex2d’ uses in 'Graphics (Estimated)' and in 'Native' categories

Expected result: tex2d will use 1.3MB in 'Graphics (Estimated)' and less than 1KB in 'Native'
Actual result: tex2d is consuming 1.3MB in both 'Graphics (Estimated)' and 'Native'.

Reproducible with: 2022.3.18f1
Not reproducible with: 2023.2.7f1, 2023.3.0b4

Reproducible on: M1 MacOS 14.2
Not reproducible on: No other environment tested

Note: Using 2021.3.34f1 the Graphics (Estimated) is not present due to the older version of the Memory Profiler, but the Native Memory is 1.3MB

  1. Resolution Note (2021.3.X):

    Fixing this bug properly requires us, on upgrade, to force a full re-import of all textures, regardless of whether the project is affected by this issue or not.
    In the case of the 2021 LTS, we believe that a backport is thus likely to create more pain than it would remove: as such, we are opting to close this port as "Won't Fix".
    UI and documentation for 2021 LTS will be updated to reflect the fact that the "Read/Write" toggle has no effect on Texture2DArrays and Texture3Ds.

Add comment

Log in to post comment