Search Issue Tracker
By Design
Votes
0
Found in
2018.2.0b3
2018.3.0a1
2018.3.8f1
2019.1.0a1
2019.2.0a1
Issue ID
1136316
Regression
Yes
Async Method is still running in Edit mode when Play mode has been exited
Steps to reproduce:
1. Open the original project
2. Navigate to Project -> Assets -> Scenes and open SampleScene
3. Enter Play mode
4. Exit Play mode
5. Observe the console spam
Expected results: Async method is not running in the Edit mode
Actual results: Async Method is still running in Edit mode when Play mode has been exited
Reproducible with: 2018.2.21f1, 2018.3.9f1, 2018.1.0b7, 2019.2.0a8
Not reproducible with: 2017.4.23f1
Comments (2)
-
Raveler
Jul 13, 2022 13:12
Are you serious? This makes no sense. Even the explanation by Unity makes no sense.
-
t_sun_asobimo
Apr 05, 2019 09:56
Lazy.
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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Resolution Note:
This is by design, tasks like this async function are treated as user threads and are not terminated when play mode is exited. The user would need to implement the terminate themselves.