Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.4

2020.1.3f1

2020.2

Issue ID

1272752

Regression

No

Application.backgroundLoadingThreadPriority gets reset to BelowNormal when it is set to High in the Awake method

Scripting

-

How to reproduce:
1. Open the user's attached "BLTPriorityBug2020.1.zip" project
2. Open the "SampleScene" Scene
3. Enter Play Mode
4. Observe the Console log

Expected result: "Application.backgroundLoadingPriority : High" message is printed in the Console log (Application.backgroundLoadingPriority stays set to High when it's set in the Awake method)
Actual result: "Application.backgroundLoadingPriority : BelowNormal" message is printed in the Console log (Application.backgroundLoadingPriority resets to BelowNormal when it is set to High in the Awake method)

Reproducible with: 2018.4.26f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0a21

Notes:
- The issue is also reproducible when Application.backgroundLoadingThreadPriority is set to High in the OnEnable method
- The issue is not reproducible when Application.backgroundLoadingThreadPriority is set to High in the Start method

  1. Resolution Note:

    The change involved would be too risky to the rest of our customers who rely on this behaviour, therefore we will not be solving this issue.
    As work around we can suggest to set it during update/onEnable in a previous frame. This will need to be setup before scene loaded events.
    If this is required for the first scene, then one can introduce a bootstrap scene to set-up this.

Add comment

Log in to post comment