Search Issue Tracker
Fixed
Votes
0
Found in [Package]
5.0.0
Issue ID
APB-44
Regression
No
Blank window and Error "NullReferenceException: Object reference not set to an instance of an object" when expanding the “Default Scaler Profile” tab with Vsync Count set to "Don't Sync"
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Open Project Settings (Edit > Project Settings)
4. Click on the Quality tab
5. Set Vsync Count to “Don’t Sync“
6. Click on the Android tab under Adaptive Performance
7. Expand “Default Scaler Profile”
Expected result: “Default Scaler Profile” is expanded and no Errors exist
Actual result: The window is blank and Error “NullReferenceException: Object reference not set to an instance of an object“ is present in the Console
Reproducible with: 1.3.1 (2021.3.44f1, 2022.3.47f1)
Not reproducible with: 1.3.1 (6000.0.21f1)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Reproducible with Simulator window under Adaptive Performance in Project Settings
- Not reproducible with VSync Count set to “Every V Blank“
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Fixed by another internal issue: APB-36: “NullReferenceException: Object reference not set to an instance of an object“ error is thrown when clicking on the disabled Default Scaler Profile setting