Compilation error using Unity 2023.1.11f1
When installing it would complain about
ScriptableRenderContext
and
RenderPipelineManager
fom this file:
Assets\Shapes\Scripts\Editor\ImmediateModeShapeDrawerEditor.cs
The fix is simple though:
In that file just change lines 28-30 fro
public virtual void OnEnable() => RenderPipelineManager.beginCameraRendering += DrawShapesSRP; public virtual void OnDisable() => RenderPipelineManager.beginCameraRendering -= DrawShapesSRP; void DrawShapesSRP( ScriptableRenderContext ctx, Camera cam ) => OnCameraPreRender( cam );
to
public virtual void OnEnable() => UnityEngine.Rendering.RenderPipelineManager.beginCameraRendering += DrawShapesSRP; public virtual void OnDisable() => UnityEngine.Rendering.RenderPipelineManager.beginCameraRendering -= DrawShapesSRP; void DrawShapesSRP( UnityEngine.Rendering.ScriptableRenderContext ctx, Camera cam ) => OnCameraPreRender( cam );
Then everything works as intended
Reporting a bug? please specify Unity version:
2023.1.11f1
Reporting a bug? please specify Shapes version:
4.3.0
Reporting a bug? please specify Render Pipeline:
URP
oh whoops time for a hotfix release! it'll be out within about an hour or so, thanks for the heads up