Search Issue Tracker
Fixed in 2020.2.X
Votes
1
Found in
2019.3
2019.3.0f3
2020.1
Issue ID
1210889
Regression
No
Crash on TransformIndicesInternalImplPositive when you have a Point Light and a Sprite Renderer with Shadow Caster 2D in a scene
How to reproduce:
1. Open attached project "Case_1210889" and load "SampleScene"
2. Select the Platform GameObject in Hierarchy and make it active
Reproducible with: 7.1.1 (2019.3.0b4, 2019.3.0b12), 7.1.7 (2020.1.0a22), 7.1.8 (2019.3.0f6, 2020.1.0a22)
Could not test with: 7.0.0, 7.0.1 (No Shadow Caster 2D component), 2017.4.36f1, 2018.4.17f1, 2019.2.20f1 (No package)
First lines of the stack trace:
0x00007FF7D6C48700 (Unity) TransformIndicesInternalImplPositive
0x00007FF7D6C4849C (Unity) TransformIndices
0x00007FF7D5EF5265 (Unity) DrawSpriteRawFromNodeQueue
0x00007FF7D643B8D4 (Unity) ExecuteDrawRendererCommand
0x00007FF7D64362FA (Unity) RenderingCommandBuffer::ExecuteCommandBufferWithState
0x00007FF7D6435B7A (Unity) RenderingCommandBuffer::ExecuteCommandBuffer
0x00007FF7D651909E (Unity) ScriptableRenderContext::ExecuteScriptableRenderLoop
0x00007FF7D6E910A9 (Unity) ScriptableRenderContext_CUSTOM_Submit_Internal_Injected
Notes: either Scene view or Game view with a Camera has to be on screen, does not matter if the Sprite Renderer component is active or not as long as it has a Sprite specified
-
Baconation
Apr 30, 2020 15:22
This issue was fixed for me when I updated my project from 2019.3.0f6 to 2019.3.11f1.
-
therealedebarudo
Feb 19, 2020 19:18
I seem to have gotten rid of the crashes by switching from LWRP to URP (creating both SRP asset + 2D renderer asset).
-
SINgoon
Feb 18, 2020 03:54
I was the same case.
Used both options('Self Shadows' & 'Use Renderer Silhouette') => Crash
Disable 'Use Renderer Silhouette' => WorksI hope this helps.
-
JoathrentStudios
Feb 02, 2020 20:24
Unity 2D lights is unusable as a result of this behavior at the moment. It looks cool and nice, though super crashy .
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a1