Unity Issue Tracker - Application.exitCancellationToken is not raised when exiting the Play Mode
Fixed
UUM-68595
Application.exitCancellationToken is not raised when exiting the Play Mode
Unity: Scripting Runtime
Fixed
6.0.X
2022.3.X
Won't Fix
6.1.X
2023.2.X
This issue is already fixed in that branch
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.
How to reproduce:
1. Open the user-attached project “2022.3_Test_ExitCancellationToken”
2. Open the “SampleScene” scene
3. Enter the Play Mode
4. Immediately exit the Play Mode and observe the Console
Expected result: The log “Continues” has stopped on exiting the Play Mode
Actual result: The log “Continues” is logged into the Console after exiting the Play Mode
Reproducible with: 2022.3.23f1, 2023.2.17f1, 6000.0.0b14
Can’t test with: 2021.3.37f1 (No such Scripting API)
Reproducible on: Windows 11 Pro, Windows 10
Not reproducible on: No other environment tested