See this Forum discussion.
Steps to reproduce:
- In a HDRP project, import the attached script
Actual results:
Compilation issue, as ProbesSettings.cubeResolution is internal
Expected results:
No compilation issue, ProbesSettings.cubeResolution should be public and possible to change the cube resolution of a reflection probe from script.
Reproducible with versions:
6.0.8f1, 2022.3.35f1
Not reproducible with versions:
Can’t test with versions:
Tested on (OS): Windows
Notes:
- As mentioned on the forum post, the use case is to change the resolution on a probe that is updated by script depending on the distance to the camera.
- A workaround is possible using reflection or ASMRef, but we should just make it public on Unity6 and the latest LTS at least.