Adaptive Probe Volume Scenarios list access

Is there a way to get a list of scenarios? In Lighting Adaptive Probe Volumes noticed if I right click on Scenario / Active / Status title bar and click Copy Property Path I get this:

m_LightingScenarios

I found a read only list here but it’s inaccessible:

UnityEngine.Rendering.ProbeVolumeBakingSet.PerScenarioDataInfo.lightingScenarios

I may have dug too deep and over looked something simple? Just seems redundant to have to make it twice and make sure the string names line up.

You can get them through this property.

You can get it this way from the current baking set:

ProbeReferenceVolume.instance.currentBakingSet.lightingScenarios;
1 Like

Thanks, I’ll try that :upside_down_face:

I got it.

Although currentBakingSet is null I found it was set from a ProbeVolumeBakingSet and noticed ProbeVolumeBakingSet was a scriptable object. Slot that scriptable object, sitting in my scene folder, into a variable and I can access the list!