Search Issue Tracker

Fixed in 2022.2.X

Votes

0

Found in

2021.2

2021.2.8f1

2022.1

2022.2

Issue ID

1404498

Regression

No

Crash on delete_object_internal_step1 when using Graphics.RenderMesh to render a lot of Sprites to screen

Graphics Device Features

-

How to reproduce:
1. Open the attached project from "crashSprite.zip"
2. Open Scene "Main"
3. Enter and Exit Play Mode (do this couple of times if it doesn't crash after the first)

Reproducible with: 2021.2.13f1, 2022.1.0b9, 2022.2.0a5
Couldn't test with: 2019.4.36f1, 2020.3.30f1 (nvidia module missing?)

First lines of the stack trace:
0x00007ff79917d758 (Unity) delete_object_internal_step1
0x00007ff799179ed0 (Unity) DestroySingleObject
0x00007ff7994975bd (Unity) DestroyObjectHighLevel_Internal
0x00007ff799497154 (Unity) DestroyObjectHighLevel
0x00007ff7994a1be7 (Unity) DestroyWorldObjects
0x00007ff79a6c5cc1 (Unity) EditorSceneManager::RestoreSceneBackups

  1. Response avatar

    Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a9

Comments (1)

  1. 0b8c54818b8dff242e179e07e16c76a6?d=mm

    rhedgeco

    Feb 23, 2022 21:38

    I've been having the same issue, and I realized that It doesn't happen if I assign a camera to the RenderParams object. When the camera is set to null and exiting play mode, it crashes every time.

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.