Search Issue Tracker
Fixed
Fixed in 2021.3.55f1, 2022.3.66f1, 6000.0.55f1, 6000.1.15f1, 6000.2.0b13, 6000.3.0a4
Votes
0
Found in
2021.3.53f1
2022.3.64f1
6000.0.53f1
6000.1.11f1
6000.2.0b9
6000.3.0a1
Issue ID
UUM-111093
Regression
Yes
ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment