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
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
- The Code Previews panel is initially opened in a slightly minimized state
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a1