We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexOutOfRangeException: Invalid kernelIndex (0) passed, must be non-negative less than 1. ComputeHelper.GetThreadGroupSizes (UnityEngine.ComputeShader compute, System.Int32 kernelIndex) (at Assets/Scripts/Script Utilities/ComputeHelper.cs:104) ComputeHelper.Run (UnityEngine.ComputeShader cs, System.Int32 numIterationsX, System.Int32 numIterationsY, System.Int32 numIterationsZ, System.Int32 kernelIndex) (at Assets/Scripts/Script Utilities/ComputeHelper.cs:16) AtmosphereSettings.PrecomputeOutScattering () (at Assets/Scripts/Celestial/Effects/AtmosphereSettings.cs:91) AtmosphereSettings.SetProperties (UnityEngine.Material material, System.Single bodyRadius) (at Assets/Scripts/Celestial/Effects/AtmosphereSettings.cs:75) AtmosphereEffect.UpdateSettings (CelestialBodyGenerator generator) (at Assets/Scripts/Celestial/Effects/AtmosphereEffect.cs:23) PlanetEffects.GetMaterials () (at Assets/Scripts/Post Processing/Planet Effects/PlanetEffects.cs:79) PlanetEffects.Render (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) (at Assets/Scripts/Post Processing/Planet Effects/PlanetEffects.cs:24) CustomPostProcessing.OnRenderImage (UnityEngine.RenderTexture intialSource, UnityEngine.RenderTexture finalDestination) (at Assets/Scripts/Game/CustomPostProcessing.cs:48) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
The text was updated successfully, but these errors were encountered:
I believe I fixed this before here. Try forking that branch, maybe it will work?
Sorry, something went wrong.
No branches or pull requests
IndexOutOfRangeException: Invalid kernelIndex (0) passed, must be non-negative less than 1.
ComputeHelper.GetThreadGroupSizes (UnityEngine.ComputeShader compute, System.Int32 kernelIndex) (at Assets/Scripts/Script Utilities/ComputeHelper.cs:104)
ComputeHelper.Run (UnityEngine.ComputeShader cs, System.Int32 numIterationsX, System.Int32 numIterationsY, System.Int32 numIterationsZ, System.Int32 kernelIndex) (at Assets/Scripts/Script Utilities/ComputeHelper.cs:16)
AtmosphereSettings.PrecomputeOutScattering () (at Assets/Scripts/Celestial/Effects/AtmosphereSettings.cs:91)
AtmosphereSettings.SetProperties (UnityEngine.Material material, System.Single bodyRadius) (at Assets/Scripts/Celestial/Effects/AtmosphereSettings.cs:75)
AtmosphereEffect.UpdateSettings (CelestialBodyGenerator generator) (at Assets/Scripts/Celestial/Effects/AtmosphereEffect.cs:23)
PlanetEffects.GetMaterials () (at Assets/Scripts/Post Processing/Planet Effects/PlanetEffects.cs:79)
PlanetEffects.Render (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) (at Assets/Scripts/Post Processing/Planet Effects/PlanetEffects.cs:24)
CustomPostProcessing.OnRenderImage (UnityEngine.RenderTexture intialSource, UnityEngine.RenderTexture finalDestination) (at Assets/Scripts/Game/CustomPostProcessing.cs:48)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
The text was updated successfully, but these errors were encountered: