You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Packages/com.unity.render-pipelines.universal/Editor/2D/PixelPerfectCameraEditor.cs
-14Lines changed: 0 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,6 @@ private class Style
22
22
publicconststringcameraStackingWarning="Pixel Perfect Camera won't function properly if stacked with another camera.";
23
23
publicconststringnonRenderer2DWarning="URP Pixel Perfect Camera requires a camera using a 2D Renderer. Some features, such as Upscale Render Texture, are not supported with other Renderers.";
24
24
publicconststringnonRenderer2DError="URP Pixel Perfect Camera requires a camera using a 2D Renderer.";
25
-
publicconststringintermediateTextureForbiddenError="URP Pixel Perfect Camera requires intermediate texture to apply but this is currently prevented on the current URP Asset.";
$"The GameObject '{GetHierarchyPath(light.transform)}' is an area light type, but the mode is not set to baked. URP only supports baked area lights, not realtime or mixed ones.");
45
-
break;
46
-
caseLightType.Directional:
47
-
caseLightType.Point:
48
-
caseLightType.Spot:
49
-
caseLightType.Rectangle:
50
-
break;// Supported types.
51
-
default:
52
-
AddWarning(builder,refcount,$"The {light.type} light type on the GameObject '{GetHierarchyPath(light.transform)}' is unsupported by URP and will not be rendered.");
53
-
break;
23
+
// ^ The global pipeline isn't set to URP, but a quality setting could still use it
$"Camera '{GetHierarchyPath(data.transform)}': '{featureName}' is enabled, but the URP Asset disables the required intermediate texture. The feature will be skipped.");
$"The GameObject '{light.gameObject.name}' is an area light type, but the mode is not set to baked. URP only supports baked area lights, not realtime or mixed ones."
0 commit comments