Search Issue Tracker
Fixed
Fixed in 2022.3.38f1, 6000.0.10f1, 7000.0.0a1
Votes
0
Found in
2022.3.35f1
6000.0.8f1
7000.0.0a1
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment