Unity Issue Tracker - Crash when calling Camera.Render during OnApplicationQuit while "Cast Shadows" is checked in the "Particle System" Component
Fixed
UUM-55832
Crash when calling Camera.Render during OnApplicationQuit while "Cast Shadows" is checked in the "Particle System" Component
Unity: Visual Effects
Fixed
6.0.X
2022.3.X
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2021.3.X
Cancelling this port, as the issue will be addressed in the 6000.0.x port
Cancelling this 2023.2 tech release issue since the support for this release has come to end of life. Cancelling this 2023.2 port case does not affect any LTS or Unity 6 Beta/Preview that remain open.
Closing, as this Unity version will no longer be getting updates.
Reproduction steps:
1. Open the attached "crash_IN-59203.zip" project
2. Build the project ("File" > "Build Settings..." > "MainScene" checked > "Build and Run")
3. Once the Player is launched, exit it by pressing the "Alt + F4" button combination
4. Open the Event Viewer application on Windows (Windows search > "Event Viewer")
5. Go to "Windows Logs", then "Application", and then check the latest events
Expected result: There are no recent "Error" level events in which the "UnityBugRepro.exe" would be the faulting application
Actual result: There is a recent "Error" level event in which the "UnityBugRepro.exe" is the faulting application