Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
Unity: uGUI Framework
Open
6.6.X
6.5.X
6.3.X
6.0.X
In Progress
6.7.X
Won't Fix
6.4.X
Unity 6000.4 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
How to reproduce:
1. Have the latest version of RenderDoc installed on your PC
2. Unpack the attached "IN-131449_sandbox.zip" project
3. Open the "capture" file from Assets/RenderDocCaptures folder in RenderDoc
4. Navigate to the DrawIndexedInstance(6, 1) (Event ID 335) in the Event Browser
5. Select the Mesh Viewer tab and scroll to the right until TEXTCOORD0 and TEXCOORD1
6. Observe the last two columns of TEXCOORD0 and first two columns of TEXCOORD1
Actual result: The last two columns of TEXCOORD0 (it's ZW values) are copied from the first two columns of TEXCOORD1 (it's XY values)
Expected result: The last two (ZW) columns of TEXCOORD0 do not get populated with next values from first two (XY) columns of TEXCOORD1
Reproducible with: 2023.1.0a10, 6000.0.66f1, 6000.3.6f1, 6000.4.0b6, 6000.5.0a5
Could not test with: 2023.1.0a1 (script compilation errors)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Prioritise and Follow this issue
Have a workaround or additional info about this issue?