Unity Issue Tracker - GameObject created by "new GameObject()" does not disappear when exiting Play mode.
Closed
UUM-57057
GameObject created by "new GameObject()" does not disappear when exiting Play mode.
Unity: Scripting Runtime
Won't Fix
6.1.X
6.0.X
2023.3.X
2023.2.X
2022.3.X
2021.3.X
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
2. Open the “MinJoon” Scene
3. (Optional) Make sure there is no “@Pool_Root” GameObject in the Hierarchy window
4. Enter Play mode and then Exit Play mode
5. Observe the Hierarchy window
Expected results: “@Pool_Root” GameObject gets destroyed after exiting Play mode
Actual results: “@Pool_Root” GameObject stays in the Hierarchy window