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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.