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.