URP 9.0 error in 2020.2.0a15

I get these constants errors when hitting play in editor with a subsequent crash

The bounds contain one of the following values: NaN, float.PositiveInfinity, float.NegativeInfinity. All values in bounds are reset to zero.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.Rendering.ScriptableRenderContext:Internal_Cull (UnityEngine.Rendering.ScriptableCullingParameters&,UnityEngine.Rendering.ScriptableRenderContext,intptr)
UnityEngine.Rendering.ScriptableRenderContext:Cull (UnityEngine.Rendering.ScriptableCullingParameters&)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Rendering.Universal.CameraData,bool) (at Library/PackageCache/com.unity.render-pipelines.universal@9.0.0-preview.14/Runtime/UniversalRenderPipeline.cs:229)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:RenderCameraStack (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera) (at Library/PackageCache/com.unity.render-pipelines.universal@9.0.0-preview.14/Runtime/UniversalRenderPipeline.cs:316)
UnityEngine.Rendering.Universal.UniversalRenderPipeline:Render (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera[]) (at Library/PackageCache/com.unity.render-pipelines.universal@9.0.0-preview.14/Runtime/UniversalRenderPipeline.cs:148)
UnityEngine.Rendering.RenderPipeline:InternalRender (UnityEngine.Rendering.ScriptableRenderContext,UnityEngine.Camera[])
UnityEngine.Rendering.RenderPipelineManager:smile:oRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)
UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal (UnityEngine.RenderTexture,int,UnityEngine.Vector2,bool,bool)
UnityEditor.PlayModeView:RenderView (UnityEngine.Vector2,bool)
UnityEditor.GameView:OnGUI ()
UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
UnityEditor.MaximizedHostView:OldOnGUI ()
UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
UnityEngine.UIElements.IMGUIContainer:smile:oIMGUIRepaint ()
UnityEngine.UIElements.UIR.RenderChainCommand:ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams,single,System.Exception&)
UnityEngine.UIElements.UIR.UIRenderDevice:EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand,UnityEngine.Material,UnityEngine.Material,UnityEngine.Texture,UnityEngine.Texture,UnityEngine.Texture,single,Unity.Collections.NativeSlice`1<UnityEngine.UIElements.UIR.Transform3x4>,Unity.Collections.NativeSlice`1<UnityEngine.Vector4>,UnityEngine.MaterialPropertyBlock,bool,System.Exception&)
UnityEngine.UIElements.UIR.RenderChain:Render ()
UnityEngine.UIElements.UIRRepaintUpdater:Update ()
UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase)
UnityEngine.UIElements.Panel:UpdateForRepaint ()
UnityEngine.UIElements.Panel:Repaint (UnityEngine.Event)
UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

[Library/PackageCache/com.unity.render-pipelines.universal@9.0.0-preview.14/Runtime/UniversalRenderPipeline.cs line 229]
2 Likes

Same here, using the latest 9.x.x release from github, my editor just crashes. It does not crash when I use the latest master. But I get the following error:

C:\Users\chef\Desktop\Graphics\com.unity.render-pipelines.core\Runtime\AssemblyInfo.cs(4,8): error CS1029: #error: ‘Core SRP 10.0.0 or newer with Hybrid Renderer V2 requires at least version 0.6.0 of com.unity.rendering.hybrid’

I wish i could just get Hybrid Renderer V2 0.6.0

Yea similar issue here. My editor just crashes with batching error unless I disable srp batcher, even then Hybrid Renderer wont render anything. I assume I just need to wait until a new version of Hybrid Renderer is released.

I have a custom branch here that reverts two PRs and is in synced today with current master and hdrp/staging for A15 here:

https://github.com/0lento/Graphics/tree/a15-staging, like with any Graphics repo fork you need to clone it with git lfs for it to work.

I haven’t tested this on URP asset being active but it doesn’t at least report errors with URP package being loaded (so it should at least be compatible with a15’s API). HDRP definitely works with this.

1 Like

Has anyone found a URP branch/commit that works with a15 and Hybrid Renderer yet?

The one I posted doesn’t work? I mean it’s only week old from github master + hdrp/staging that has URP changes as well.

1 Like

Nope, requires Hybrid Renderer 0.6.0

I reverted the commit that required newer Hybrid, it should work now but of course it could have some negative side effects still. I just uploaded the commit on that branch so you need to fetch it again for testing.

I’ll do more recent a16-staging once it’s out.

There’s also now new 9.x previews on the package manager.

1 Like

Just want to report back that a16 fixed the issues for me.

1 Like