Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2021.3.48f1

2022.3.57f1

6000.0.36f1

6000.1.0b4

6000.2.0a1

7000.0.0a17

Issue ID

UUM-96096

Regression

No

"Property exceeds previous array size (2 vs 1)" warnings are thrown making it impossible to work with the Update Zones of the CustomRenderTexture when updating the script

-

How to reproduce:
1. Open the “CustomRenderTexture2” project
2. Select Assets → WaterRipples → Water Ripples Texture to open its Inspector window
3. Open the “WaterController” script
4. Modify the script by adding new empty line to trigger the recompilation
5. Observe the Console window

Expected result: No warnings are thrown
Actual result: Three warnings are thrown (full warnings are in the notes)

Reproducible in: 2021.3.48f1, 2022.3.57f1, 6000.0.36f1, 6000.1.0b4, 6000.2.0a1

Reproduced on: Windows 10, Windows 11
Not reproduced on: No other environments tested

Notes:
- Property (CustomRenderTextureCenters) exceeds previous array size (2 vs 1). Cap to previous size. Restart Unity to recreate the arrays.
- Property (CustomRenderTextureSizesAndRotations) exceeds previous array size (2 vs 1). Cap to previous size. Restart Unity to recreate the arrays.
- Property (CustomRenderTexturePrimitiveIDs) exceeds previous array size (2 vs 1). Cap to previous size. Restart Unity to recreate the arrays.

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.