How to reproduce:
1. Open the project “IN-105606_Pooling”
2. Enter Play Mode
3. In the Hierarchy, observe the “GameObject”
Expected result: The “GameObject” has non-active children GameObjects
Actual result: The “GameObject” has no children GameObjects, and the Console logs OnDestroyPoolObject method firing on entering Play Mode
Reproducible with: 2021.3.53f1, 2022.3.64f1, 6000.0.53f1, 6000.1.11f1, 6000.2.0a2, 6000.2.0b9, 6000.3.0a1
Not reproducible with: 6000.2.0a1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- The option to change reloading Scene and Domain can be found: Edit → Project Settings → Editor → Enter Play Mode Settings
- Adding a delay before initializing the ObjectPool avoids the destruction of the child GameObjects