Search Issue Tracker
Fixed in 3.0.1
Found in [Package]
Invalid kernelIndex errors appear in the console when playing a tutorial project and creating 3D with Extras project
These errors appear in the console when following the Creator Kit: Puzzle tutorial, or making a new project with the 3d with extras template:
IndexOutOfRangeException: Invalid kernelIndex (1) passed, must be non-negative less than 4.
UnityEngine.Rendering.PostProcessing.MultiScaleVO.PushRenderCommands (UnityEngine.Rendering.CommandBuffer cmd, System.Int32 source, System.Int32 destination, UnityEngine.Vector3 sourceSize, System.Single tanHalfFovH, System.Boolean isMSAA) (at Library/PackageCachefirstname.lastname@example.org/PostProcessing/Runtime/Effects/MultiScaleVO.cs:371)
UnityEngine.Rendering.PostProcessing.MultiScaleVO.GenerateAOMap (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Camera camera, UnityEngine.Rendering.RenderTargetIdentifier destination, System.Nullable`1[T] depthMap, System.Boolean invert, System.Boolean isMSAA) (at Library/PackageCacheemail@example.com/PostProcessing/Runtime/Effects/MultiScaleVO.cs:172)
UnityEngine.Rendering.PostProcessing.MultiScaleVO.RenderAfterOpaque (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context) (at Library/PackageCachefirstname.lastname@example.org/PostProcessing/Runtime/Effects/MultiScaleVO.cs:505)
UnityEngine.Rendering.PostProcessing.PostProcessLayer.BuildCommandBuffers () (at Library/PackageCacheemail@example.com/PostProcessing/Runtime/PostProcessLayer.cs:570)
UnityEngine.Rendering.PostProcessing.PostProcessLayer.OnPreCull () (at Library/PackageCachefirstname.lastname@example.org/PostProcessing/Runtime/PostProcessLayer.cs:462)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
- create a new project with the 3d with extras template
- notice the console
- if you clear the console but focus the Game Window, error reappears instantly
- error still spams console even after going into play mode
Reproducible with: 2020.1.0a24, 2020.1.0b5, 2020.2.0a5 (2.3.0)
Not reproducible with: 2019.3.0a5, 2020.1.0a23 (2.3.0)
Cannot reproduce this by simply adding the PostProcessing package to a new project made with the 3D Template and making a new PostProcessing effect.
There are 2 workarounds for this:
1 - reimport the project - or delete the Library folder and restart the project.
2 - delete the libcache folder - [Unity installation folder]\Unity\2020.1.0b8\Editor\Data\Resources\PackageManager\ProjectTemplates\libcache
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Shadows flickering when a Mesh's Cast Shadows are set to Shadows Only and Camera is moving with Spotlight
- AudioMixer exposed parameters cause assertions when hidden and prevent the drop-down from functioning
- Package Manager/My Assets: 401 Response code trying to download a paid asset store package
- TrailRenderer.SetPosition will log a Index out of bounds error when index is in bounds of the positionCount property
- [URP] Graphics.DrawMeshInstancedIndirect rendering correctly after clicking an another application/refreshing Assets