Search Issue Tracker

In Progress

Fixed in 6000.2.0b13

Fix In Review for 2021.3.55f1, 2022.3.66f1, 6000.0.55f1, 6000.1.15f1, 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.