Reproduction steps:
- Open the attached "IN-152321" project
- Open the "Assets/SampleScene.unity" scene
- Enter Play Mode
- In the Game view, click the "G REPRODUCE - scaler applies refPPU late" button
- Observe the red shape in the top-right of the Game view and the Console window
Actual result: The shape renders as two end caps meeting in the centre. The last mesh build in the Console reports "refPPU=100" and "middle=0.0"
Expected result: The shape renders as a ribbon with a stretched middle section. The last mesh build in the Console reports "refPPU=10.8" and "middle=770.2"
Reproducible with: 6000.0.83f1, 6000.3.23f1, 6000.4.0a1, 6000.5.11f1, 6000.6.0f1, 6000.7.0a6
Not reproducible with: 6000.3.0a6
Reproducible environment: Windows 11
Not reproducible environment: No other environments tested
Workaround: Call "Graphic.SetVerticesDirty()" on the Image after "Canvas.referencePixelsPerUnit" has been assigned