Search Issue Tracker

Fixed in 2020.2

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

Universal RP

-

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

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a1

Comments (4)

  1. 71aa94f29e8f5763fc1306bc92f3046a?d=mm

    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.

  2. E05d22b66ece1c3712b9ce17311c4e7d?d=mm

    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).

  3. 7967cb24ae1d98bee796f5b3b2db40ff?d=mm

    SINgoon

    Feb 18, 2020 03:54

    I was the same case.

    Used both options('Self Shadows' & 'Use Renderer Silhouette') => Crash
    Disable 'Use Renderer Silhouette' => Works

    I hope this helps.

  4. 07c6cc2160fc162c4b3556b30d459e10?d=mm

    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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.