So I was using the editor version 6000.2.10f1, which got some issues, so I decided to upgrade my unity editor to a newer version: 6000.5.5f1.
Now I got thoose errors:
.OnCameraSetup(CommandBuffer, ref RenderingData)‘: no suitable method found to override
.Execute(ScriptableRenderContext, ref RenderingData)’: no suitable method found to override
This is some part of the code:
#if UNITY_6000_0_OR_NEWER
[Obsolete]
#endif
public override void OnCameraSetup(CommandBuffer cmd, ref RenderingData renderingData)
{
Camera camera = renderingData.cameraData.camera;
Light mainLight = GetMainLight(renderingData.lightData);
if (mainLight != null)
{
float3 sunAttenuation = EvaluateSunColorAttenuation(float3(camera.transform.position) - visualEnvironment.GetPlanetCenterRadius(camera.transform.position).xyz, -mainLight.transform.forward);
Color color = mainLight.color.linear * (mainLight.useColorTemperature ? Mathf.CorrelatedColorTemperatureToRGB(mainLight.colorTemperature) : Color.white);
mainLightColor = float3(color.r, color.g, color.b) * mainLight.intensity * sunAttenuation;
#if URP_PHYSICAL_LIGHT
bool isPhysicalLight = mainLight.GetComponent<AdditionalLightData>() != null;
mainLightColor = isPhysicalLight ? mainLightColor * rcp(PI) : mainLightColor;
#endif
}
UpdateMaterialProperties(mainLight, camera, material);
lutMaterial.CopyPropertiesFromMaterial(material);
if (mainLight != null && visualEnvironment.skyAmbientMode.value == VisualEnvironment.SkyAmbientMode.Dynamic)
{
ambientProbe = UpdateAmbientProbe(ambientProbe, mainLight.transform.forward, mainLightColor);
RenderSettings.ambientProbe = ambientProbe;
}
}
I’ve tried to fix it for several days now.
I even tried it with chatgpt, it removed all errors but I think it just disabled all fuctions because the sky got black as you can see here:
So if anybody has an idea how to fix it, I would really appreciate it! Thanks.

