Search Issue Tracker

In Progress

Fix In Review for 2022.3.37f1, 6000.0.10f1

Votes

0

Found in

2022.3.35f1

6000.0.8f1

Issue ID

UUM-74949

Regression

No

[HDRP] ProbesSettings.cubeResolution is internal and can not be changed "easilly"

--

-

See this [Forum discussion|https://forum.unity.com/threads/solved-set-reflection-probe-resolution-in-script.1606875/].

*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.

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.