StressLevelZero / MarrowSDK-Legacy

MIT License
284 stars 39 forks source link

Error after SDK installation #87

Closed FairweatherSWE closed 2 years ago

FairweatherSWE commented 2 years ago

Hey,

I'm getting errors after installing the 3 git files. Using a completely new Unity 2021.3.5f1 install. See console text below. Also, the package manager says that version 12.1.7 is the latest Core RP Library but does not update from 12.1.6 using the update button. Same thing with SLZ Universal RP.

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.Collections.Generic.List1[T].get_Item (System.Int32 index) (at <e40e5a8f982c4b618a930d29f9bd091c>:0) UnityEngine.Rendering.Universal.XRPass.GetProjMatrix (System.Int32 viewIndex) (at Library/PackageCache/com.unity.render-pipelines.universal@aa626bdcab/Runtime/XR/XRPass.cs:89) UnityEngine.Rendering.Universal.CameraData.GetProjectionMatrix (System.Int32 viewIndex) (at Library/PackageCache/com.unity.render-pipelines.universal@aa626bdcab/Runtime/UniversalRenderPipelineCore.cs:117) UnityEngine.Rendering.Universal.Internal.PreviousFrameMatricies.UpdateMotionData (UnityEngine.Camera camera, UnityEngine.Rendering.Universal.CameraData cameraData, UnityEngine.Rendering.Universal.Internal.PreviousFrameData motionData) (at Library/PackageCache/com.unity.render-pipelines.universal@aa626bdcab/Runtime/PreviousFrameMatrices.cs:107) UnityEngine.Rendering.Universal.Internal.PreviousFrameMatricies.SetPrevFrameGlobalsForCamera (UnityEngine.Camera camera, UnityEngine.Rendering.Universal.CameraData camData) (at Library/PackageCache/com.unity.render-pipelines.universal@aa626bdcab/Runtime/PreviousFrameMatrices.cs:54) UnityEngine.Rendering.Universal.UniversalRenderer.Setup (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.RenderingData& renderingData) (at Library/PackageCache/com.unity.render-pipelines.universal@aa626bdcab/Runtime/UniversalRenderer.cs:419) UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderSingleCamera (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Rendering.Universal.CameraData cameraData, System.Boolean anyPostProcessingEnabled) (at Library/PackageCache/com.unity.render-pipelines.universal@aa626bdcab/Runtime/UniversalRenderPipeline.cs:413) UnityEngine.Rendering.Universal.UniversalRenderPipeline.RenderCameraStack (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera baseCamera) (at Library/PackageCache/com.unity.render-pipelines.universal@aa626bdcab/Runtime/UniversalRenderPipeline.cs:565) UnityEngine.Rendering.Universal.UniversalRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, System.Collections.Generic.List1[T] cameras) (at Library/PackageCache/com.unity.render-pipelines.universal@aa626bdcab/Runtime/UniversalRenderPipeline.cs:265) UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, System.Collections.Generic.List1[T] cameras) (at <4a31731933e0419ca5a995305014ad37>:0) UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List1[T] renderRequests, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at <4a31731933e0419ca5a995305014ad37>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

FairweatherSWE commented 2 years ago

[FIXED] Had a default camera in the scene (example scene on Unity start-up). Removed camera. Seems to be ok in mod level.