Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

2

Found in

2022.3.25f1

2023.2.18f1

Issue ID

UUM-69949

Regression

No

[Android] The warning "Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old - this is not allowed and likely a leak" is displayed when ShaderVariantCollection.WarmUp is called

--

-

Reproduction steps:
1. Open the attached project “Reproject”
2. Switch Platform for Android (menu: File > Build Settings)
3. Build and Run on Android
4. Observe the Console Window

Expected result: There are no warnings in the logs
Actual result: "Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old - this is not allowed and likely a leak" message is logged once, and " Internal: deleting an allocation that is older than its permitted lifetime of 4 frames (age = 5)" messages are logged multiple times

Reproducible with: 2022.3.25f1, 2023.2.18f1
Not reproducible with: 6000.0.0b14
Couldn’t test with: 2021.3.37f1 (user’s script errors)

Reproducible with these devices:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00591 - Samsung Galaxy S23 (SM-S911B), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 14
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
Pixel3XL (Recall 4/10) (user’s)

Not reproducible with these devices:
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1
Pixel 6 Pro (Recall 0/10) (user’s)

Testing environment: Windows 11 23H2 (22631.3007), Windows 11 (10.0.22631) 64bit (user’s)
Not reproducible environment: No other environment tested

Notes:

* The attached project is just a script that executes ShaderVariantCollection.WarmUp added to 3D Sample Scenes (URP)
* Not reproducible on IOS (user’s info)
* Not reproducible when using OpenGLES3

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.